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)
-   -   Insert SSL Logo into Home.tpl (https://forum.x-cart.com/showthread.php?t=16499)

gramps 09-09-2005 06:23 PM

Insert SSL Logo into Home.tpl
 
V4.0.14 Insert SSL Logo into to Home.tpl page

It looked so easy we had to find a way to screw it up. :oops:



We have downloaded an image file from our ssl cert provider geotrust. We put
it into our www.securerenter.biz/images/quickssl_anim.gif folder

We want to put it into our /xcart/customer/home.tpl page. We would like to
have it go above the new.tpl box. We have looked at the coding from the
forum and created a secure_cert.tpl file and put it in the customer folder
with the following code.:

************************************************** **************************
*****************
*<table width="100%" border="0" cellspacing="0" cellpadding="5">
* <tr>
* <td align="center" valign="top">
*
*<!--TrustLogo Html Builder Code:
*Shows the logo at URL https://www.securerenter.biz/images/quickssl_anim.gif

*Logo type is Secure Site Seal - For SSL Certificate holders ("SC") Not
Floating //-->
*
*{literal}
*<script
type="text/javascript">TrustLogo("https://www.securerenter.biz/images/quicks
sl_anim.gif ", "SC", "none");
*</script>
*{/literal}
*</td>
* </tr>
*</table>
************************************************** **************************
*****************

We then inserted in the home.tpl the following code:

************************************************** ***
*{* SECURE SITE CODE STARTS HERE *}
*{literal}
*<script language="JavaScript"
*src="https://www.securerenter.biz/xcart/skin1/customer/secure_cert.tpl/java
script/trustlogo.js" *type="text/javascript">
*</script>
*{/literal}
*{* SECURE SITE CODE ENDS HERE *}
************************************************** ******

What went wrong
Thanks

Jon 09-09-2005 06:36 PM

Are you putting stars in front of all your code like that? If you are, don't :D

In your home.tpl include the secure_cert.tpl file.

Code:

{include file="whateverdirectory/secure_cert.tpl"}

gramps 09-15-2005 07:40 PM

found answer to geotrust ssl logo
 
V4.0.14 :D the new geotrust verified domain the code supplied just dropped into authorization.tpl
Problem was that for some reason my xcart home page wasn't www, as certificate is. Authorization is so in it plopped.

No need for more code or secure_cert.tpl

Thank you for your help

cbsnet 05-05-2006 10:19 AM

new version
 
anyone know where to add this in 4.1.0?

thanks

DeanH 05-24-2006 03:24 PM

Re: found answer to geotrust ssl logo
 
Quote:

Originally Posted by gramps
V4.0.14 :D the new geotrust verified domain the code supplied just dropped into authorization.tpl
Problem was that for some reason my xcart home page wasn't www, as certificate is. Authorization is so in it plopped.

No need for more code or secure_cert.tpl

Thank you for your help


I couldn't get the site to show the SSL logo. No errors, just no logo. So what does this mean? A shortcut, he asks hopefully? [-o<

gramps 05-25-2006 07:59 PM

got 'er done thanks


All times are GMT -8. The time now is 07:10 AM.

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