vb.org Archive
>
vBulletin 3 Discussion
>
vB3 Programming Discussions
> conditional based on 'THIS_SCRIPT' ?
Log in
View Full Version :
conditional based on 'THIS_SCRIPT' ?
amnesia623
09-05-2007, 07:19 PM
Can I make a template conditional that would grab the defined script name and perform an action based on that?
How would that happen?
Eikinskjaldi
09-05-2007, 07:47 PM
You certainly can.
<if condition="THIS_SCRIPT == 'pleh'">do summat!</if>
Hope that helps.
amnesia623
09-05-2007, 08:48 PM
Awesome! thank you a lot!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.