| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Can you load a different tpl depending on http https | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() 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. |
|||||||||
#2
|
|||||||||
|
|||||||||
![]() I think you can just put any templates you want displayed in https in the https directory, and vice versa.
__________________
Alltribes.com Native American Jewelry Pottery, Baskets, Kachinas & More X-cart Gold Version 4.0.17 Live PHP 5.2.6 MySQL 4.1.25 (mt) |
|||||||||
#3
|
|||||||||
|
|||||||||
![]() ^ 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. |
|||||||||
#4
|
|||||||||
|
|||||||||
![]() Thank you very much Jon. That was a big help. And a lot easier than what I was trying to do.
|
|||||||||
|
|||
X-Cart forums © 2001-2020
|