Why dont this code work?

Why dont this code work?

Thursday 28 August 2003 4:19:53 am - 2 replies

Modified on Thursday 28 August 2003 4:22:23 am by Claus Jensen

Author Message

Jan Borsodi

Thursday 28 August 2003 4:39:33 am

You are changing the namespace here:
{section name=Child loop=$children}

This means that you have to refer to the variable in that namespace like this:

{let children2=fetch('content',list,hash(parent_node_id,$Child:item.node_id))}
{section name=Child2 loop=$Child:children2}

Also the next variable lookup must have the first namespace as well, like:
{$Child:Child2:item.name|wash}

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

Claus Jensen

Thursday 28 August 2003 4:57:47 am

AHA! Its ez!

Thanks Jan,
claÜs

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.