![]() |
Template Conditionals not working properly?
I'm trying to use the "Show in one forum" conditional, but I can't get it to work what so ever.
Example: Code:
<vb:if condition="$forum[forumid] == x">Show this if forum id is x</vb:if> With example: Code:
<vb:if condition="$forum[forumid] == 35">TEST Am I doing something wrong, or does the code doesn't work properly? |
Which template are you putting that in? Try this:
Code:
<vb:if condition="$GLOBALS['forumid'] == 35">TEST |
Quote:
And thanks, that code seems to be working perfectly! Thank you. When should "$forum" be applied then? I found it in the vb4 conditional list. |
Quote:
|
All times are GMT. The time now is 04:47 PM. |
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:
|