Quote:
Originally Posted by Dismounted
You cannot directly put that into a template - it is not a template conditional...
Code:
<if condition="empty($_SERVER['HTTPS']) === false">
|
Ok - I've got it working in reverse... when I go to https:// I get ads, and when I go to http:// I do not. How can I reverse this behavior? I have tried making the 'false' a 'true' and also tried making it '!= false"' ... but it doesn't seem to work.
the basic structure I did was:
<if statement>
: codes for ads :
<else />
rest of template (footer in this case)
</if> (at end of footer template).