![]() |
Multiple Page Conditional?
I am working on learning how to do conditionals and have hit a road block and searches haven't really helped me out a lot. I have a sidebar and I have figured out how to make it only show on the index but I would like it to also show on the forumdisplay and the showthread and can't figure out how to get it to work with all three. Thanks in advance!!
|
what if conditional are you using for it to show on only the index page?
|
<if condition="THIS_SCRIPT == 'index'">
|
Have you tried
HTML Code:
<if condition="THIS_SCRIPT == 'index,showthread,forumdisplay'"> |
Quote:
PHP Code:
|
I have a similar need for such a setup and this is what I use (and it works perfectly fine):
Code:
<if condition="THIS_SCRIPT == 'index' OR 'forumdisplay' OR 'showthread'"> |
Thank you very much, worked like a charm!! I was so close in my other attempts..lol
|
This helped me show my attraction poster scroller only on the forumhome as I cheated and used the under navbar ad location for the code ;)
Thanks! :up: |
All times are GMT. The time now is 06:56 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:
|