Thursday 04 September 2003 1:36:42 pm
Your current node has a link to its parent. Look at: {$node|attribute(show)} and you will see the syntax you need. It is something like: {let parent_node = fetch('content','node',hash(node_id,$node.parent_node_id)} With this $parent_node you can some perform a standard fetch on its parent, like this: {let nodes = fetch('content','list',hash(parent_node_id,$parent_node.node_id)} which will grab all the nodes underneath the parent. There may be a direct way to reach the id of the parents parent, look at the results of the attribute(show) call above. I can't experiment at the moment to confirm this. Hope this helps Paul
|