Share » Forums » General » Fetching Node id

Fetching Node id

Fetching Node id

Thursday 10 April 2008 1:20:30 am - 2 replies

Author Message

Michal Slocinski

Friday 11 April 2008 2:59:26 pm

where do you want to fetch this node?

in some node view override or page layout file?

kubus media

Friday 20 June 2008 6:17:24 am

Hi John
by $node.parent.node_id ($node.parent contains the whole ezcontentobjecttreenode of F1). Folder 3 is a subitem, so you can't identify it directly (there could be more than one subitem). You need to fetch the children of "Folder 2" ($node.children or fetch('content', 'list', hash('parent_node_id', $node.node_id, ........... )). If theres just one subitem $node.children.0.node_id could be working.

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

36 542 Users on board!

Forums menu