switch on childs of a parent node id

switch on childs of a parent node id

Monday 14 February 2005 4:09:25 am - 1 reply

Author Message

Ɓukasz Serwatka

Wednesday 02 March 2005 12:26:58 am

Hi,

You can fetch parent of current node using {$node.parent_node_id}

For example


{let parentNode=fetch( content, node_id, $node.parent_node_id ) }
    {$parentNode.name}
{/let}

I hope it will help.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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.