fetch into fetch

Author Message

ludo thomas

Friday 02 September 2005 5:27:00 am

is it possible to fetch elements of an other fetch,
like this?

{let nodes=fetch( 'content', 'list', hash( 'parent_node_id', 250 )) }

{section loop=$nodes}
    {$item.name}
	{let children=$item.node_id}
			{let nodechildren=fetch( 'content', 'list', hash( 'parent_node_id', $children )) }
			{section loop=$nodechildren}
			{$item.name}<br />
			{/section}{/let}{/let}
			<br />
{/section}<P>{/let}{/let}

(this code doesnt display children's nodes...)

ludo thomas

Friday 02 September 2005 5:44:27 am

sorry but this code is working fine...

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