Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

HTTP Conditional Code Execution

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-10-2006, 06:33 AM
 
asimj asimj is offline
 

Member
  
Join Date: Jul 2003
Posts: 16
 

Default HTTP Conditional Code Execution

Hi,

I have a problem with security warnings in Internet Explorer. Our site has some image links from external sites and when switching to HTTPS mode, IE displays insecure page element warnings.

How do I conditionally only display the image links when in HTTP mode only?

Any help would be much appreciated.
__________________
Regards,
Asim
X-Cart Gold version v4.1.8
Reply With Quote
  #2  
Old 04-10-2006, 07:11 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Why not just save the images locally?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 04-10-2006, 11:22 AM
 
alru111 alru111 is offline
 

eXpert
  
Join Date: Dec 2005
Posts: 244
 

Default

let me hijack this post.
I have external links (not images but regular text anchores) on my page and when in https mode it gives me security warning. Is xcart using functions for dispaying external links?
If not what is the way around.



thanks in advance
__________________
X-Cart version 4.0.19
Reply With Quote
  #4  
Old 04-10-2006, 12:08 PM
 
alru111 alru111 is offline
 

eXpert
  
Join Date: Dec 2005
Posts: 244
 

Default

I have been able to find a way around but setting up redirections. But still it's interesting how others do it, there should be something more straightforward I beleive.

Another issued that still remains with IE is the google analitics javascript code that points to http://www.google.......

Any idea what can be done???
__________________
X-Cart version 4.0.19
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:49 AM.

   

 
X-Cart forums © 2001-2020