Forums / Setup & design / let..section
enigmista enigmista
Wednesday 03 September 2003 7:35:38 am
Hi in my pagelayout.tpl i have:
<!-- First block --> {let children=fetch('content',list,hash(parent_node_id,110))} {section name=Child loop=$children max=5} <a href={concat("/content/view/full/",$Child:item.node_id)|ezurl}>{$Child:item.name}</a>{/section}
<!-- Second block --> {let children=fetch('content',list,hash(parent_node_id,122))} {section name=Child loop=$children max=5} <a href={concat("/content/view/full/",$Child:item.node_id)|ezurl}>{$Child:item.name}</a>{/section}
Why in second block it display info in object 110 ? (the block first is the same of the second block)
Thanks
Paul Borgermans
Wednesday 03 September 2003 7:56:11 am
Where is the closing {/let}? it should be after the first block and again after the second block.
-paul
eZ Publish, eZ Find, Solr expert consulting and training http://twitter.com/paulborgermans
Friday 05 September 2003 3:02:39 am
:P thanks