How are the subnodes shown?

Author Message

Anekdoten <<>>

Wednesday 27 July 2005 12:23:44 am

Is possible print to display the content(subnodes) of a node? Thanks

David Eriksson

Wednesday 27 July 2005 3:50:04 am

{foreach $node.children as $child}
    {node_view_gui view=line node=$child}
{/foreach}

That will output the line templates for all children (subnodes) of a node.

/David

Anekdoten <<>>

Thursday 28 July 2005 12:29:47 am

Hi David,

thanks for the answer ... but I obtain this error:

array_keys (): The first argument should be an array in c : \ ezpublish \ ezpublish \ var \ corporate \ \ template \ compiled \ initiatives-b0dc2f4c6395e5047fa24a0fb566eaa9.php on cache line 635

please help me, have just started using EZP and do not know who to ask ... many thanks

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