![]() |
Trustlogo not floating
I have altered the skin1/customer/home.tpl and put in the correct code at the correct places (between the corresponding tags) as being directed through the trustlogo.com site:
Quote:
The trustlogo is showing and functioning now on all pages, but it is centered at the bottom and not floating. My aim is to get it in the right bottom corner and floating above the content below it. I guess the code should be put somewhere else in the home.tpl or should I add the code in another .tpl file to get the result I want? p.s. I've been able to see other sites where it works with my browser so I figure that the browser isn't the problem. Thanks in advance! :) |
Re: Trustlogo not floating
You need to surround the JavaScript with {literal} tags, i.e.:
{literal} javascript code here {/literal} |
Re: Trustlogo not floating
Sorry for not getting it, do you mean like this?
{literal}<script language="JavaScript" src="http://www.trustlogo.com/trustlogo/javascript/trustlogo.js" type="text/javascript"> </script>{/literal} And <!-- TrustLogo Html Builder Code: Shows the logo at URL http://www.mydomain.com/shop/trustlogo/cornertrust.gif Logo type is ("SC") Floating on the //--> {literal}<script type="text/javascript">TrustLogo("http://www.mydomain.com/shop/trustlogo/cornertrust.gif", "SC", "bottomright");</script>{/literal} |
Re: Trustlogo not floating
Yes
|
Re: Trustlogo not floating
Somehow that's not working:
Code:
{* $Id: home.tpl,v 1.88.2.3 2006/07/19 10:19:35 max Exp $ *} Line 9 and one of the last lines have the javascript code, would you be so kind to take a quick look? |
Re: Trustlogo not floating
Sorry, not familar enough with that particular company to know the answer :(
|
Re: Trustlogo not floating
Thanks anyway :)
|
Re: Trustlogo not floating
Ok, I'm a bit further but haven't managed yet.
Finally I found a post dealing with this, but it is for 4.0.x, is there anybody who knows how to alter it for 4.1.x or is willing to try? Quote:
|
Implementing Comodo's 'Corner of Trust' in X-Cart 4.1.x
I finally found out how to go about this matter :)
TIP: I came across a big part of this modification somewhere in the forums and copied and pasted the code I found there; somehow this copying and pasting didn't make it to work, finally I went through the steps described below (go to the site, enter url etc. etc.) and succeeded. >> The not properly functioning of copying and pasting of code could be forum related so I would advise you not to do this. << Technical specs X-Cart version: 4.1.3 Other versions could work with this tutorial, but you'll have to try and see for yourself! To make thing really easy (you can skip step 1 and 2 with this); here's the logo so you don't need to download it: http://www.trustlogo.com/images/cornertrust.gif Step-by-step setup
My 2 cents No garuantees or support; I'm sort of a newby. |
Re: Trustlogo not floating
works a treat, thank you
|
All times are GMT -8. The time now is 02:40 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.