Forums / Setup & design / let..section

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

let..section

Author Message

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

enigmista enigmista

Friday 05 September 2003 3:02:39 am

:P thanks