Wednesday 01 March 2006 1:57:06 pm
In what way did you try this code? If you want sibilings of a node $node then try:
{foreach $node.parent.chidren as $child}
{$child.name} {/foreach} If you want sibilings of an object $object then try:
{foreach $object.main_node.parent.chidren as $child}
{$child.name} {/foreach} Also remember that each object can have more than one parent node, so it can have different sibilings for different parent nodes. Also have a look at this: http://ez.no/doc/ez_publish/technical_manual/3_6/reference/objects/ezcontentobject http://ez.no/doc_hidden/ez_publish/technical_manual/3_6/reference/objects/ezcontentobjecttreenode
--
Nothing is impossible. Not if you can imagine it!
Hubert Farnsworth
|