Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding Java to footer.php


Guest

Recommended Posts

G'Day All,

 

We're running a COMODO ssl certificate and have the option to use their corner "Trusted Site" seal that uses java script as shown below. I can get it to work in HTML but have no idea where to start in .php. I figure it would need to appear in footer.php Any suggestions?

 

 

 

Step 2: Copy and paste the 2 snippets of HTML code below.

Please insert the following two snippets of HTML code into your webpage document. You will need to repeat the process for each web page you wish to display Corner of TrustLogo™.
[b]
Snippet 1: Copy/Paste the following piece of code and insert EXACTLY before your </HEAD> tag.[/b]
<script language="javascript" type="text/javascript"> //<![CDATA[ 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('<scr' + 'ipt language="JavaScript" src="'+cot_loc0+'" type="text\/javascript">' + '<\/scr' + 'ipt>'); //]]> </script>
Snippet 2: Copy/Paste the following piece of code and insert EXACTLY before your </BODY> tag.

[b]Snippet 2: Copy/Paste the following piece of code and insert EXACTLY before your </BODY> tag.[/b]
<a href="http://www.instantssl.com" id="comodoTL">SSL</a>
<script language="JavaScript" type="text/javascript">
COT("http://www.highlandmodels.com.au/catalog/images/secure_site.gif", "SC2", "none");
</script>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...