Forums / Setup & design / problem displaying image
Ron Schöningh
Tuesday 14 February 2006 2:20:27 am
Dear all,
I would like to display the image attribute of the article class in pagelayout.tpl using the following code:
<div id="contentcenter"> <p>{include uri="design:page_warning.tpl"} {$module_result.content} </p></div>
<div id="contentright"> {attribute_view_gui attribute=$node.object.data_map.image}</div>
The image shows only once and after reloading or revisting the page the conentright div is empty.
Can anybody tell me what's wrong?
thx! Ron
Myxt Web Solutions http://www.myxt.nl
laurent le cadet
Thursday 16 February 2006 6:46:45 am
Tuesday 21 February 2006 9:00:07 am
Thanks for your answer. This is indeed the solution to my problem!
Ron
Tuesday 21 February 2006 9:17:37 am
Nice :)