| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
How to add a Secure Cert Logo to your pages | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
How to add a Secure Cert Logo to your pages
If you have a secure certificate from trust heres a quick walkthrough for getting the logos added to you site
This was done on a 3.5.x site but is pretty much the same for all versions. The only thing that would be any different is the menu part make sure that you have uploaded your secure_site.gif to your skin1/images dir new file secure_cert.tpl Code:
notice the {literal}{/literal} tags around the javascript add this code between the head tags of customer/home.tpl single/home.tpl partner/home.tpl (if you use affiliate) Code:
again notice the {literal}{/literal} tags around the javascript then to get he logo to appear on your pages add this code where you want the cert to appear in the following files customer/home.tpl single/home.tpl partner/home.tpl (if you use affiliate) Code:
If you want the code to appear as a menu item then make secure_cert.tpl look like this .... Code:
dont forget to replace the java code with the code that you get from the trust setup page http://www.trustlogo.com/ssl-certificate-support/index.html also note that i set the images to call from the secure location (https://www.mysecuresite.com)rather then the http location so as not to cause any errors
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. EWD Hosting Hands On Hosting |
|||||||||
#2
|
|||||||
|
|||||||
Here is mod if you use GeoTrust.
secure_cert.tpl: Code:
customer/home.tpl: Code:
__________________
Gibberish [Unix] X-Cart 4.0.12 |
|||||||
#3
|
|||||||||
|
|||||||||
Is this supposed to be a fancier way of just showing the good ol' ???
I tried the code on my site and nothing showed up...what's it supposed to do vs. the way I have it above. By the way, I use the comodo cert
__________________
Web site design - Custom Programming - Upgrades - Marketing www.netvisionwebdesign.com Follow on twitter: http://twitter.com/netvisionweb Become a fan on Facebook: http://www.facebook.com/pages/NetVision-Web-Design/89463493419 |
|||||||||
#4
|
|||||||||
|
|||||||||
Quote:
yeh, its not rocket science but thought it may help some people. I happened to be adding a logo to a site and thought I'd post it. Problem with your way is that it would bring up an insecure error as your calling a file from http
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. EWD Hosting Hands On Hosting |
|||||||||
#5
|
|||||||||
|
|||||||||
Whoops, thanks for calling that Shan.
I actually just called that code from my head. I really just use a relative path for most of my images, /store/skin1/images/new/secure_cert.gif or {$ImagesDir}/new/secure_cert.gif and that, as you know keeps the errors from poping up on the secure part of the site. Also brain freezed and forgot to put my include path "customer" which is where I created the secure_cert.tpl and got it to work. {include file="customer/secure_cert.tpl"} Unfortunately, I just got the cheap cert to be sure the site was protected and not the fancy one that actually displays all the info on mouseover. I saw no one had any replies in here, so maybe this will help someone else out. Thanks man!
__________________
Web site design - Custom Programming - Upgrades - Marketing www.netvisionwebdesign.com Follow on twitter: http://twitter.com/netvisionweb Become a fan on Facebook: http://www.facebook.com/pages/NetVision-Web-Design/89463493419 |
|||||||||
#6
|
|||||||
|
|||||||
reason I posted geotrust is because they do not give you a logo to call from. You have to call it from their server, so it's alittle harder then just calling from the {$ImagesDir}.
__________________
Gibberish [Unix] X-Cart 4.0.12 |
|||||||
#7
|
|||||||
|
|||||||
this is a great summary, thanks!
__________________
----------------------- x-cart v4.7.6 [LIVE] x-cart v4.0.18 [retired 2004-2016] x-cart v3.5.13 [retired] x-cart v3.4.14 [retired] |
|||||||
#8
|
|||||||
|
|||||||
hello,
i am having problems using this mod. i would like to install a square trade security seal. the code is a java .js file that reads out to a server for the image. therefore, i need the secure pages to be https and the insecure pages to display the seal through http. my problem, i am placing the seal on the home.tmp which feeds to both the secure and non secure pages. what should i do? please help
__________________
tekmind X-cart 4.0.7 [unix] |
|||||||
#9
|
|||||||||
|
|||||||||
I followed the steps outlined above... placed the secure_cert.tpl file in the site root, edited the header portions of the files listed and placed the line of code that sets the location of the logo in "skin1/customer/home.tpl" just under the line that reads [img]{$ImagesDir}/spacer.gif[/img]
, which should place the logo just underneath left menu options. I'm getting the following error: Quote:
The only thing on line 1082 of that file is: Code:
Not 100% if the error is refering to the smarty.class.php file or the sercure_cert.tpl file. When creating the secure_cert.tpl I simply made a txt file, copied the code into it and renamed it to a tpl. Little help would be much appreciated
__________________
Wicked shirts, and other assorted mayhem. www.MadRagz.com ----- X-Cart Gold v 4.0.13 |
|||||||||
#10
|
|||||||
|
|||||||
The secure_cert.tpl doesn't go in the SITE root...it goes in the XCART root. That error is due to X-Cart not being able to find the template.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
|||
X-Cart forums © 2001-2020
|