![]() |
conditional to determine the name of the page
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 |
you could use the THIS_SCRIPT thingymajig
so HTML Code:
<if condition="THIS_SCRIPT == index">display this banner<else />display the other banners</if> |
Thank you :) I was working on the templates at work and couldn't access the source code.
|
no problemo, grateful i could help :)
|
All times are GMT. The time now is 08:57 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:
|