SiFor
01-03-2014, 12:59 AM
Im trying to add a conditional statement to the "display_Forums_item" template to display an icon next to one specific forum / node.
I have tried
<vb:if condition="$channel['nodeid'] != 70">custom code here</vb:if>
<vb:if condition="$channel['nodeid']== 70">custom code here</vb:if>
and
<vb:if condition="$GLOBALS['nodeid'] != 70">custom code here</vb:if>
<vb:if condition="$GLOBALS['nodeid'] == 70">custom code here</vb:if>
but neither seem to work, what is the correct condition code for this?
Thanks.
I have tried
<vb:if condition="$channel['nodeid'] != 70">custom code here</vb:if>
<vb:if condition="$channel['nodeid']== 70">custom code here</vb:if>
and
<vb:if condition="$GLOBALS['nodeid'] != 70">custom code here</vb:if>
<vb:if condition="$GLOBALS['nodeid'] == 70">custom code here</vb:if>
but neither seem to work, what is the correct condition code for this?
Thanks.