The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
Does anybody know if there's a conditional check I can do in the navbar to see what page is being displayed?
I want to run one ad banner under the navbar on the forumhome page, but a different banner on all other pages. Could easily hack it, but would rather use a conditional if possible. Amy |
|
#2
|
||||
|
||||
|
you could use the THIS_SCRIPT thingymajig
so HTML Code:
<if condition="THIS_SCRIPT == index">display this banner<else />display the other banners</if> |
|
#3
|
||||
|
||||
|
Thank you
I was working on the templates at work and couldn't access the source code.
|
|
#4
|
||||
|
||||
|
no problemo, grateful i could help
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|