This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » 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 2:59:49 pm - 1 reply

Hi all!

I need to get a list of the articles in the node above the parent_node.

i.e. if this is the case:

- george
- peter

If I go to george, I need to be able to get a list of all the content of people.

I've tried this one:

loop=fetch(content,list,hash(parent_node_id,$DesignKeys:used.node,class_filter_type,include,class_filter_array,array(2))) show=eq($DesignKeys:used.viewmode,'full')}

happy.gif Emoticon Felix

Wednesday 11 June 2003 4:04:34 pm

If you're inside a node template (node/view/full.tpl) you can do

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


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

36 542 Users on board!

Forums menu

Proudly Developed with from