Jump to content

How to add a floating ssl site seal to WHMCS


MarkkuS

Recommended Posts

This is a answer to post:

https://whmcs.community/topic/258449-how-to-add-comodo-trust-logo-to-whmcs/

 

You need to add following code to your template´s header.tpl, just before </head>:

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

 

And this code you need to add to your template´s footer just before </body>:

<!--
TrustLogo Html Builder Code:
Shows the logo at URL https://www.yourdomain.com/comodo_secure_seal_113x59_transp.png
Logo type is  ("SC4")
Floating on the Bottom Right
//-->
<a href="http://www.instantssl.com" id="comodoTL">SSL</a>
<div style="position:fixed;bottom:0;right:0;">
<script type="text/javascript">TrustLogo("https://www.yourdomain.com/comodo_secure_seal_113x59_transp.png", "SC7", "none");</script>

 </body>

With these I have a floating comodo site seal site´s bottom right corner. If you want add site seal eg.  bottom left, you just need to change div style from right to left.

 

Hope this helps community :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated