MarkkuS Posted August 19, 2018 Share Posted August 19, 2018 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 :) 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted August 21, 2018 Share Posted August 21, 2018 technically, you should probably do it as two hooks (in same file if you wanted to ) to add the code to the header/footer automatically - that would avoid having to edit the templates after every update. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.