XF 2.2 can't add page_node conditional in page_container template?

Ludachris

Well-known member
I'm trying to run a check for node_id in the page_container template to display content in a specific node. Will it not work in that template?
I've tried both:
Code:
<xf:if is="in_array({$forum.node_id}, [x])">
Code:
<xf:if is="$forum.node_id == x">
Neither worked.
 
Back
Top Bottom