![]() |
Conditional display based on HTTPS
I have some javascript code that pulls in a weather feed and when the visitor goes to check out via HTTPS, they get that secure/nonsecure warning. I want to put an IF statement in the template that says if HTTPS, do not display the weather feed. Seems simple, but I do not know the syntax.
Any help? |
{if $smarty.get.mode ne "checkout"}
java code here {/if} should do it |
Code:
{literal} |
All times are GMT -8. The time now is 07:49 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.