ez.no / ezpublish / documentation / customization / tips & tricks / fetching the id of the parent
These documentation pages are no longer maintained. Please visit the new documentation site.
fetch(content,list,hash(parent_node_id,$node.parent_node_id))
... gets all elements of the parent node id of the current node. $node.parent_node_id is the relevant variable. See Template Language (3.x) under fetch for more info.
You can also use
{$module_result.node_id}
for fetch functions. This will work on cached pages where $node is not available.
Comments
Get Parent ID without fetch
Bruce Morrison
Tuesday 19 August 2003 3:49:45 am