Jump to content

[SOLVED] HOW TO add Comodo SSL with floating Corner TrustLogo


projectpb

Recommended Posts

This took took some time on my part to get right but after research and testing i got it I hope. It works with 1.3 and 1.4 BETA 1 My test site www.projectpb.com/presta using 1.4 BETA 1 . On my site as of this time i do not have a Comodo Instant SSL Certificate I have the Comodo Positive SSL. I did not want to spend the extra money and not have this logo work. in time i will get the better SSL and have it on my main site.

You will need a Comodo Instant SSL Certificate. The Comodo Positive SSL will not work with this logo.
Authorize.net is w well trusted reseller for Comodo and some how the prices are better their then going direct to comodo.


http://www.authorize.net/solutions/merchantsolutions/merchantservices/sslcertificates/

After u buy the ssl and have it installed to your server you can add it to your site.
Use the instructions listed here. Your Corner of Trust graphic will have been emailed to you upon completion of your order. Make sure to upload the graphic to your webserver

http://www.trustlogo.com/ssl-certificate-support/index2.html


now on to what files to add this code to. Their is a small change to the code to make it work.
Add this {literal} before the code provided form site above then this {/literal} after

code to be inserted above the /HEAD goes in the header.tpl file for the template your are using

<html >
   <head>
       <title>{$meta_title|escape:'htmlall':'UTF-8'}</title>
{if isset($meta_description) AND $meta_description}
       <meta name="description" content="{$meta_description|escape:html:'UTF-8'}" />
{/if}
{if isset($meta_keywords) AND $meta_keywords}
       <meta name="keywords" content="{$meta_keywords|escape:html:'UTF-8'}" />
{/if}
       <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
       <meta name="generator" content="PrestaShop" />
       <meta name="robots" content="{if isset($nobots)}no{/if}index,follow" />
       <link rel="icon" type="image/vnd.microsoft.icon" href="{$img_ps_dir}favicon.ico" />
       <link rel="shortcut icon" type="image/x-icon" href="{$img_ps_dir}favicon.ico" />
{if isset($css_files)}
   {foreach from=$css_files key=css_uri item=media}
   <link href="{$css_uri}" rel="stylesheet" type="text/css" media="{$media}" />
   {/foreach}

/// This is code used to install comodo trust logo  do not use this code  use code from in install site     
{literal}
[removed]
//<![CDATA[
var cot_loc0=([removed].protocol == "https:")? "https://secure.comodo.net/trustlogo/javascript/cot.js" :
"http://www.trustlogo.com/trustlogo/javascript/cot.js";
[removed]ln('' + '<\/scr' + 'ipt>');
//]]>
[removed]
{/literal}
/// This is code used to install comodo trust logo  do not use this code use code from in install site


{/if}
       [removed][removed]
       [removed]
           var baseDir = '{$content_dir}';
           var static_token = '{$static_token}';
           var token = '{$token}';
           var priceDisplayPrecision = {$priceDisplayPrecision*$currency->decimals};
           var roundMode = {$roundMode};
       [removed]
       [removed][removed]
       [removed][removed]
       [removed][removed]
{if isset($js_files)}
   {foreach from=$js_files item=js_uri}
   [removed][removed]
   {/foreach}
{/if}
       {$HOOK_HEADER}
   </head>    




next part in to install the /BODY code into the footer.tpl file for the template your are using

        {if !$content_only}


<!-- Right -->

                   {$HOOK_RIGHT_COLUMN}



<!-- Footer -->
{$HOOK_FOOTER}

   {/if} 

/// This is code used to install comodo trust logo  do not use this code use code from in install site   
{literal}
Premium SSL Certificate
[removed]
COT("https://www.yourhost/img/SSL_LOGO.gif", "SC2", "none");
[removed]
{/literal}    
/// This is code used to install comodo trust logo  do not use this code use code from in install site

   </body>
</html>



this is my first wright up i hope you find it useful

thanks
Jeff

www.projectpb.com

35235_mEO2Pe9ddKwW155S2LnL_t

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 months later...
  • 5 years later...

You will need a Comodo Instant SSL Certificate. The Comodo Positive SSL will not work with this logo.

 

now on to what files to add this code to. Their is a small change to the code to make it work.

Add this {literal} before the code provided form site above then this {/literal} after

 

code to be inserted above the /HEAD goes in the header.tpl file for the template your are using

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"><html >    <head>        <title>{$meta_title|escape:'htmlall':'UTF-8'}</title>{if isset($meta_description) AND $meta_description}        <meta name="description" content="{$meta_description|escape:html:'UTF-8'}" />{/if}{if isset($meta_keywords) AND $meta_keywords}        <meta name="keywords" content="{$meta_keywords|escape:html:'UTF-8'}" />{/if}        <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />        <meta name="generator" content="PrestaShop" />        <meta name="robots" content="{if isset($nobots)}no{/if}index,follow" />        <link rel="icon" type="image/vnd.microsoft.icon" href="{$img_ps_dir}favicon.ico" />        <link rel="shortcut icon" type="image/x-icon" href="{$img_ps_dir}favicon.ico" />{if isset($css_files)}    {foreach from=$css_files key=css_uri item=media}    <link href="{$css_uri}" rel="stylesheet" type="text/css" media="{$media}" />    {/foreach}/// This is code used to install comodo trust logo  do not use this code  use code from in install site     {literal}[removed]//<![CDATA[var cot_loc0=([removed].protocol == "https:")? "https://secure.comodo.net/trustlogo/javascript/cot.js" :"http://www.trustlogo.com/trustlogo/javascript/cot.js";[removed]ln('<scr' + 'ipt language="JavaScript" src="'+cot_loc0+'" type="text\/javascript">' + '<\/scr' + 'ipt>');//]]>[removed]{/literal}/// This is code used to install comodo trust logo  do not use this code use code from in install site    {/if}        [removed][removed]        [removed]            var baseDir = '{$content_dir}';            var static_token = '{$static_token}';            var token = '{$token}';            var priceDisplayPrecision = {$priceDisplayPrecision*$currency->decimals};            var roundMode = {$roundMode};        [removed]        [removed][removed]        [removed][removed]        [removed][removed]{if isset($js_files)}    {foreach from=$js_files item=js_uri}    [removed][removed]    {/foreach}{/if}        {$HOOK_HEADER}    </head>

 

next part in to install the /BODY code into the footer.tpl file for the template your are using

 

{if !$content_only}                </div><!-- Right -->                <div id="right_column" class="column">                    {$HOOK_RIGHT_COLUMN}                </div>            </div><!-- Footer -->            <div id="footer">{$HOOK_FOOTER}</div>        </div>    {/if} /// This is code used to install comodo trust logo  do not use this code use code from in install site   {literal}<a href="http://www.instantssl.com" id="comodoTL">Premium SSL Certificate</a>[removed]COT("https://www.yourhost/img/SSL_LOGO.gif", "SC2", "none");[removed]{/literal}    /// This is code used to install comodo trust logo  do not use this code use code from in install site    </body></html>

I have the Comodo Positive SSL certificate and followed the instructions I received today (although bought a year ago) and my Trust Logo image is on my webserver. I edited the footer.tpl and header.tpl with the code snippets I was given.

 

What shows up is "Positive SSL" hotlink  to https://www.positivessl.com/

 

Do you have any idea what does work for the Positive SSL Certificate? 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...