![]() |
Nodeid conditional template code
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 Code:
<vb:if condition="$channel['nodeid'] != 70">custom code here</vb:if> Code:
<vb:if condition="$GLOBALS['nodeid'] != 70">custom code here</vb:if> Thanks. |
It looks like $forum[nodeid] may be the variable to use as it looks like $forum is registered for use there.
|
Thank you Lynne, that works.
How would I go about finding that out by myself or is there not a viable way to do that? |
I just took a look at the template itself and looked to see what variables were being used there.
|
All times are GMT. The time now is 08:39 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|