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?
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.
\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
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

Who is online
Users browsing this forum: No registered users and 24 guests