• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

A node and all its children.


Active member
I have a node with many children.

I use
<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?


Active member
<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.