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)
-   -   Can you load a different tpl depending on http https (https://forum.x-cart.com/showthread.php?t=13861)

wjbrewer 05-06-2005 11:49 AM

Can you load a different tpl depending on http https
 
I have recently purchased a security certificate from Comodo. You can load a different version depending on http or https connection. The problem is that my server uses cpanel and I only have one set of files that are called depending on http or https.

I was wondering if there was a way to code the smarty template to include a different .tpl depending on http, or https.

Alltribes 05-06-2005 11:55 AM

I think you can just put any templates you want displayed in https in the https directory, and vice versa.

Jon 05-06-2005 12:07 PM

^ That works if you have a seperate directory for http and for https, which is not recommended :)

Just link to the https version, it won't error using https images on an http page.

wjbrewer 05-06-2005 08:03 PM

Thank you very much Jon. That was a big help. And a lot easier than what I was trying to do.


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

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