X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Template design and HTTPS (https://forum.x-cart.com/showthread.php?t=67692)

mfx 09-06-2013 08:27 AM

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?

cflsystems 09-06-2013 08:28 AM

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

mfx 09-06-2013 08:31 AM

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?

cflsystems 09-06-2013 08:37 AM

Re: Template design and HTTPS
 
You should always use relative path when possible

Jon 09-06-2013 12:30 PM

Re: Template design and HTTPS
 
Or better yet use variables such as {$SkinDir} {$AltSkinDir} {$ImagesDir} {$AltImagesDir}.


All times are GMT -8. The time now is 10:59 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.