XF 1.5 Conditionals Help

thunderup

Active member
Okay, so I am trying to do an elseif conditional on a widget page and regular xenforo page.

The following WORKS on a forum node:

Code:
<xen:if is="{$forum.node_id} == 10">
changes that only shows on forum node #10
<xen:else />
other content that shows on every other node
</xen:if>


When I try and do this, for a xenforo PAGE it doesn't work.. No changes are made

Code:
[CODE]<xen:if is="{$page.node_id} == 36">
changes that only shows on forum node #36
<xen:else />
other content that shows on every other node
</xen:if>


And same thing here with a WIDGET PAGE, no changes show up.

Code:
[CODE]<xen:if is="{$widgetPage.node_id} == 35">
changes that only shows on forum node #35
<xen:else />
other content that shows on every other node
</xen:if>


Any help would be greatly apprecaited!
 
Top Bottom