Share » Forums » Setup & design » How to get to the node above the parent

How to get to the node above the parent

How to get to the node above the parent

Wednesday 11 June 2003 5:59:49 am - 1 reply

Author Message

Jan Borsodi

Wednesday 11 June 2003 7:04:34 am

If you're inside a node template (node/view/full.tpl) you can do
loop=fetch(content,list,hash(parent_node_id,$node.parent_node_id,class_filter_type,include,class_filter_array,array(2)))

The $node variable is the current node and the attribute parent_node_id returns the id of the parent node.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

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

36 542 Users on board!

Forums menu