A node and all its children.

arms

Well-known member
I have a node with many children.

I use
Code:
<xen:if is="in_array({$forum.node_id}, array(2,6,8, 9, 10,23,24,25,26,27))">

Is there a way to to reference node 2 and all its children without having to remember to amend this every time I add a child node?
 
<xen:if is="{$forum.parent_node_id} == 5 OR {$forum.node_id} == 5">

Thanks very much @Brogan . Shame on me for not checking your FAQ more thoroughly.
 
Back
Top Bottom