Quote:
Originally Posted by TheMilkCarton
Code:
<if condition="THIS_SCRIPT == 'forumdisplay' OR THIS_SCRIPT == 'showthread'">
AND won't work. I think that's right.. not too much of a coder.
nvm... I think AND is what you want if you're excluding all pages but those scripts. I think??
|
It'd be impossible to have two different values for THIS_SCRIPT -- it would be contradictory - and would always return false. (If this animal is a Fish and Ferret; return.) The correct operator would be OR.
Code:
<if condition="THIS_SCRIPT == 'forumdisplay'">
Only Show this if we're looking at Forumdisplay.</if>
Code:
<if condition="THIS_SCRIPT != 'forumdisplay'">
Only Show this if we're not looking at Forumdisplay.</if>