![]() |
Why doesn't this work?
<if condition="$forumid != '97' OR '46' OR '70' OR '72'">
do this <else /> do that </if> Working in the templates (navbar template specifically if that matters), can I not specify more than one forumid in each if statement? --------------- Added [DATE]1244772848[/DATE] at [TIME]1244772848[/TIME] --------------- Thought I figured it out when I just tried this... <if condition="$forumid != '97' OR $forumid != '46' OR $forumid != '70' OR $forumid != '72'"> do this <else /> do that </if> But that didn't work either. :( --------------- Added [DATE]1244773074[/DATE] at [TIME]1244773074[/TIME] --------------- Dang... thought I had it again, but this didn't work either.... <if condition="$forumid != '97'" OR condition="$forumid != '46'" OR condition="$forumid != '70'" OR condition="$forumid != '72'"> do this <else /> do that </if> That gave me an error when I tried to save the template and told me to go back... GRRRR |
change OR to AND...
PHP Code:
PHP Code:
|
Awesome, thanks! :D
|
All times are GMT. The time now is 05:11 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:
|