Jump to content

Install Comodo secure seal in home page (ssl)


Recommended Posts

I've installed my EV SSL certificate on the server and everything is working good!

Now I wanna add the Comodo secure seal on the home page. Comodo website generate some code that I have to add in header.tpl and footer.tpl files:

 

Before </head>

<script language="javascript" type="text/javascript">
//<![CDATA[
var cot_loc0=(window.location.protocol == "https:")? "https://secure.comodo.com/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>

Before </body>

<a href="http://www.instantssl.com" id="comodoTL">SSL</a>
<script language="JavaScript" type="text/javascript">
COT("http://satcomfta.com/img/cot_evssl.gif", "SC3", "none");
</script>

In other post I read that I should wrap with the literal tag "{literal}code{/literal}" because it can cause issues in the smarty template engine.

 

Someone can help me in doing this works?

Link to comment
Share on other sites

if you're on 1.6.0.7 / 1.6.0.8 go to preferences > general and disable html purifier.

at the moment it crashes a lot of useful html snippets

i bet that in your case html purifier is causing problem.

 

It is disabled, and nothing happens this is my code:

 

header.tpl

{literal}<script language="javascript" type="text/javascript">
                //<![CDATA[var cot_loc0=(window.location.protocol == "https:")? "https://secure.comodo.com/trustlogo/javascript/cot.js" :"http://www.trustlogo.co$
                document.writeln('<scr' + 'ipt language="JavaScript" src="'+cot_loc0+'" type="text\/javascript">' + '<\/scr' + 'ipt>');//]]>
                </script>{/literal}
        </head>

footer.tpl

{literal}<a href="http://www.instantssl.com" id="comodoTL">SSL</a>
<script language="JavaScript" type="text/javascript">
COT("http://satcomfta.com/img/cot_evssl.gif", "SC3", "none");
</script>{/literal}
        </body>
</html> 
Link to comment
Share on other sites

×
×
  • Create New...