Wednesday 18 June 2008 12:27:51 am
Hi,
Thanks for your answer.
Here is the code :
pagelayout.tpl calls frontpage.tpl to display the main area. In frontpage.tpl we can find : <div class="left-column-position">
<div class="left-column">
<!-- Content: START -->
{attribute_view_gui attribute=$node.object.data_map.left_column}
<!-- Content: END -->
The last line display the text I put in the left column. But when I put {attribute_view_gui attribute=$node.object.data_map.left_column}
in my header area (in pagelayout.tpl), nothing is displayed, maybe because it's not the same file ?
I have found a 'workaround' : I created a content class with just a text block, added it to my content structure, then I fetch it like a simple node. Then the text is well written. In this way it works very well. But I don't know wich is the best answer, the cleanest method..
Thanks. <i>sorry for any mistakes, i'm not english</i>
|