View Single Post
  #8  
Old 08-29-2006, 07:49 AM
  Warwick's Avatar 
Warwick Warwick is offline
 

X-Adept
  
Join Date: Mar 2003
Location: Somewhere on the web through European connection
Posts: 868
 

Default 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:
skin1/customer/home.tpl - Just before the </head> place:

Code:
{literal}<script> var cot_loc0=(window.location.protocol == "https:")? "https://secure.comodo.net/trustlogo/javascript/cot.js" : "http://www.trustlogo.com/trustlogo/javascript/cot.js"; document.writeln('<script language="JavaScript" src="'+cot_loc0+'" type="text\/javascript"><\/script>'); </script>{/literal}

Then at skin1/customer/menu_cart.tpl - After the last </if> and before </capture>

Code:
{literal}<script language="JavaScript">COT("https://www.yourdomain.com/images/cornertrust.gif", "SC2", "none");</script>{/literal}
)
__________________
Installs: X-Cart 4.1.x - 4.4.x ∙∙ MySQL version: 5.0.45 ∙∙ Apache version: 2.2.8 (Unix) ∙∙ PHP version: 5.25
X-Cart add-ons: all ∙∙ Mods: A lot; too many ∙∙ Skin templates: Many
∙∙ Experience: Somewhere beyond newbie
-----------------------------------
------------------------------------------------------------------------------------------------------
Looking for the best dutch language pack? 4.1.x - 4.6.x compatibel, native speaker translation! More info
Reply With Quote