Share » Forums » General » How are the subnodes shown?

How are the subnodes shown?

How are the subnodes shown?

Wednesday 27 July 2005 12:23:44 am - 2 replies

Author Message

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

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

36 542 Users on board!

Forums menu