can't add page_node conditional in page_container template?

L

Ludachris

Guest
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.
 
BlackSpigot General Chat
Rules Help Users
    C @ CuteBunny765: Download kese karo is ko
    Top