XF 1.5 Template Variable - xen:if

Jayson

Member
I'm trying to use the following template syntax in one of my templates:
Code:
<xen:if is="in_array({$forum.node_id}, array(1, 2, 3, 4, 5, 6))"> The Content </xen:if>

However, it appears the content is not displaying in any of the specified forum nodes.
 
That is the correct syntax.

Which template are you adding it to? Is the $forum param available in it?

Are you sure the node IDs are correct?
 
Top Bottom