Quote:
Originally Posted by LiLSnooP
okej
but how to do it vice versa
show code on all pages besides index
?
in_array it solve the problem ?
|
Either:
Code:
<if condition="THIS_SCRIPT == 'index'">
Code if on index page
<else />
Code on all pages except index page
</if>
Or
Code:
<if condition="THIS_SCRIPT <> 'index'">
Code for all pages except index page
</if>
I think that should do it. (I used "<>", but I seem to recall someone saying that we should use "!=" instead, or it was vice versa. Can someone comment on that and why?)