Post by rmedary » Sat Jul 25, 2009 5:48 am

I have recently purchased an SSL license complete with Logo. The vendor has provided the code and the image. I am relatively new to OpenCart and need some assistance in determining where to place the code for the hover over. The vendor says to copy and paste the code below the </HEAD> tag:
<script language="javascript" type="text/javascript">
//<![CDATA[
var tl_loc0=(window.location.protocol == "https:")? "https://secure.comodo.net/trustlogo/jav ... ustlogo.js" :
"http://www.trustlogo.com/trustlogo/java ... ustlogo.js";
document.writeln('<scr' + 'ipt language="JavaScript" src="'+tl_loc0+'" type="text\/javascript">' + '<\/scr' + 'ipt>');
//]]>
</script>

Can someone please tell me which file to paste the code into?

Newbie

Posts

Joined
Sat Jul 25, 2009 5:02 am

Post by tahnmeep » Thu Jul 30, 2009 7:27 am

hmmm I haven't configured 1.3.0 for it yet, but I had it set up before on 1.2.8; I edited layout.tpl and a stylesheet (that belonged somewhere, not exactly sure where at the moment, I'll get back to you). I put code into the layout.tpl for the image to be in a <div> tag, then told it to refer to the css for layout and position.

New member

Posts

Joined
Sun Jul 05, 2009 1:24 pm


Post by tahnmeep » Thu Jul 30, 2009 8:26 am

\catalog\view\theme\default\template\common\layout.tpl
What I would do is throw in a <div> with your trustlogo, which can be a link as well. Set the size for it too in the HTML. I put my div tag for the logo right before the closing div of the entire page.

D:\tahneedotorg\emporium\catalog\view\theme\default\stylesheet\stylesheet.css
Add in your div tag to this css, saying where you want it positioned and how.

Hope this helps :D

New member

Posts

Joined
Sun Jul 05, 2009 1:24 pm

Who is online

Users browsing this forum: No registered users and 24 guests