XF 1.5 Template Variable - xen:if

I'm trying to use the following template syntax in one of my templates:
<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.


XenForo moderator
Staff member
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?