View Single Post
  #1  
Old 12-07-2006, 10:46 AM
  HWT's Avatar 
HWT HWT is offline
 

eXpert
  
Join Date: Jan 2005
Location: Massachusetts, USA
Posts: 392
 

Default if statement for excluding an item from https pages

I dislplay the shopping.com rating gif on my site, which is hard coded (http://www.shopping.com/etc.), but dynamically generated off of their site. In other words, we have 4 1/2 check marks now, but if we get a better rating, we'll have 5 for a worse rating and we'll have 4, and the .gif will update itself. The problem is, that it's throwing a secure/nonsecure warning on the registration pages. Disableing https for the registration page is not an option.

Does anybody know the if statement to use to exclude this image from secure pages?

have tried:

{if $smarty.server.HTTPS eq "on"}
What I want to go on the secure page
{else}
What I want to go on all the rest
{/if}


No-go, unfortunately.

TIA
__________________
x-cart 4.0.13 and 4.1.7 and 4.1.10
Reply With Quote