![]() |
if condition separate
Code:
<if condition="$forum[forumid] == 38,43,36"> When I try to click "save" on the template, it returns an error about not being able to use commas. How would I separate the forumids another way in the original if condition part? I want it so all 3 of those forums show no bottom border, but all others do. |
You can check each one and use || (or):
Code:
<if condition="$forum[forumid] == 38 || $forum[forumid] == 43 || $forum[forumid] == 36"> If you had more than 3 forums to list you might want to try a different way, but with only 3 that's probably good enough. |
Well I'll probably have around 5, so that should be good. Thanks a lot though!
|
All times are GMT. The time now is 06:22 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:
|