View Single Post
  #5  
Old 05-17-2007, 08:39 AM
 
Ben G Ben G is offline
 

Advanced Member
  
Join Date: Nov 2006
Posts: 100
 

Question Re: IF Statement for HTTPS/HTTP

I am trying to do the same thing with Litecommerce so I can stop Google Adsense from appearing in my https:/ pages. The actual "If" statement for Litecommerce is fine but I am stuck on the translation of

$smarty.server.HTTPS ne "on"

into Litecommerce. I just can't get. Appreciate any help you might be able to offer.

Quote:
Originally Posted by hooter
Hello,

This is what you would use:
Code:
{if $smarty.server.HTTPS ne "on"} http code here {else} https code here {/if}
__________________
Ben
X-Cart 4.6.6 Gold Plus - lots of modules
X-Cart 4.7.9 Gold Plus - lots of modules
Reply With Quote