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

Template design and HTTPS

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-06-2013, 08:27 AM
 
mfx mfx is offline
 

Member
  
Join Date: May 2010
Posts: 27
 

Default Template design and HTTPS

When I enable the HTTPS functions and hit the pages in HTTPS, it shows me a broken template, and gives and error of "unsecure items", i have to manually say it's on on the browser for the normal view to return. Does anyone know why this happens?

What do I need to do for whatever layout im using to work with the HTTPS without giving me an "unsecure" mesaage?
Reply With Quote
  #2  
Old 09-06-2013, 08:28 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: Template design and HTTPS

You have to find the items that load http on https pages - it is either an image or js call - and make them load https. You have something that is hardcoded with absolute url there
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 09-06-2013, 08:31 AM
 
mfx mfx is offline
 

Member
  
Join Date: May 2010
Posts: 27
 

Default Re: Template design and HTTPS

oh, i see..i definitely do know that some things are hardcoded. so what you're saying is...if i set things to local paths it should resolve the issue instead of putting https in the hard coded items?
Reply With Quote
  #4  
Old 09-06-2013, 08:37 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: Template design and HTTPS

You should always use relative path when possible
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #5  
Old 09-06-2013, 12:30 PM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default Re: Template design and HTTPS

Or better yet use variables such as {$SkinDir} {$AltSkinDir} {$ImagesDir} {$AltImagesDir}.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 09:09 PM.

   

 
X-Cart forums © 2001-2020