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)
-   -   Cornertrust.gif Installetion in 4.1X (https://forum.x-cart.com/showthread.php?t=48709)

nortonz 07-20-2009 03:27 PM

Cornertrust.gif Installetion in 4.1X
 
I had this Comodo Cornertrust.gif installed in v3.1. and it worked fine. I have tried the 3 threads in the forum, but have not been able to get them to work right.

Tried this in the /skin1/customer/home.tpl


Code:


<head>
{litera}<script language="JavaScript" src="http://www.trustlogo.com/trustlogo/javascript/trustlogo.js" type="text/javascript"></script>{/literal}
</head>


and this in the body
Code:

{literal}<!--
TrustLogo Html Builder Code:
Shows the logo at URL http://www.mysite.com/images/cornertrust.gif
Logo type is  ("SC")
Floating on the undefined
//-->
<a href="http://www.instantssl.com" id="comodoTL">SSL</a>
<script type="text/javascript">TrustLogo("http://www.mysite.com/images/cornertrust.gif", "SC", "bottomright");</script>{/literal}


This did show the "Cornertrust.gif, in the bottom right of the page, but as you scroll down the page it it starts dropping down the page, and getts very weird.

EEven tried the one that you create a file called "secure_site.tpl" It does the same thing.

Has anyone installed this in Xcart 4.1

Thanks
Michael

carpeperdiem 07-20-2009 05:02 PM

Re: Cornertrust.gif Installetion in 4.1X
 
Before you get too excited about the Comodo trust logo and placing it on your site, you may want to read threads about what happens to your store when Comodo's server goes down...

http://forum.x-cart.com/showthread.php?t=47285

--- as to your code -- the first smarty tag should be {literal} ( you have {litera} ) -- typo?

If you search the forum, the solution has been posted -- but there is nothing special about a trust logo -- you just have to put the script into the head in the literal tag -- and place the call to the script where you want it... the "corner of trust" will float -- if you want it to do this.

But in my opinion, you will be better off NOT to do the floating logo -- but that's just my opinion.


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

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