• 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.

arms

Active member
#1
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?
 

arms

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