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!