I'm not sure if this helps (as I'm not sure what your question is!!) but you know that your node contains an array of all the children? Look in $node.path array.
For example I use it in the template full for my articles to show the name of folder y in this layout:
---- folder x
------- folder y
----------- article a ----------- article b
Using this code:
<p class="title">latest articles in {$node.path[2].name} </p>
I can show the id of that node like so:
<p class="title">latest articles in {$node.path[2].node_id} </p>
Does that help?
Regards,
~James~
You must be logged in to post messages in this topic!