Results 1 to 7 of 7
  1. #1
    Join Date
    Sep 2012
    Posts
    38
    Plugin Contributions
    0

    Default comodo trust logo results in SSL hyperlink

    Hi

    I have installed my comodo code , but the result is this weird hyperlink instead of the padlock image. So Comodo asked for:

    'a test page containing just the logo nothing else. So that we can further investigate the issue you are having.' because my hosts wanted to know if problem is caused with server blocking or a problem with comodo code?

    However I'm unsure how to make a test page, with the logo.

    I thought the code only worked in the: tpl_main_page.php ? tpl_footer? or html header?


    anyone?
    cheers

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: comodo trust logo results in SSL hyperlink

    Try an ezpage with the code - not knowing what the code is....
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Sep 2012
    Posts
    38
    Plugin Contributions
    0

    Default Re: comodo trust logo results in SSL hyperlink

    Ok I have made the ez page, actually I made two for both the snippets of code.

    snippet 1) in tplfooter.php:
    PHP Code:
    <a href="http://www.instantssl.com" id="comodoTL">SSL</a>
    <
    script type="text/javascript">TrustLogo("https://www.****.net/images/tl_transp.gif ""SC5""none");</script> 
    snippet 2) in htmlheader.php

    PHP Code:
    <!--
    TrustLogo Html Builder Code:
    Shows the logo at URL [url]https://www.*****.net/images/tl_transp.gif[/url] 
    Logo type is  ("SC5")
    undefined
    //-->
    <a href="http://www.instantssl.com" id="comodoTL">SSL</a>
    <
    script type="text/javascript">TrustLogo("https://www.****.net/images/tl_transp.gif ""SC5""none");</script> 

  4. #4
    Join Date
    Sep 2012
    Posts
    38
    Plugin Contributions
    0

    Default Re: comodo trust logo results in SSL hyperlink

    Have I installed the 2 snippets in the correct files? [peachy*swag*.net] remove asterix

  5. #5
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: comodo trust logo results in SSL hyperlink

    Looking at your site briefly, you have a number of HTML and other issues you will probably want to address prior to the Comodo logo.

    Your website specifies XHTML 1.0 Transitional
    In XHTML all of your "tags" must be balanced. This means you need a matching end tag for every element. This includes tags like "<br>" and "<img>" which typically are written as "<br />" and "<img />" in XHTML. There are also some unbalanced "<div>" and other tags.

    When you use an attribute (href, src, rel, etc) these need to be in the format src="https://www.worldpay.com/images/cardlogos/mastercard.gif". Note the double quotes. No no spaces inside the quotes. You are not allowed to have more than one "id" attribute (you have two id="comodoTL").

    Inline javascript should be inside a CDATA block to tell the browser to not parse the script using an XML parser. Most modern browsers will strip the javascript before parseing, but never hurts to cover your bases.
    Code:
    <a href="http://www.instantssl.com" id="comodoTL">SSL</a>
    <script type="text/javascript">
    //<![CDATA[
    TrustLogo("/images/tl_transp.gif", "SC5", "none");
    //]]>
    </script>
    These issues need to be addressed to ensure the web browser knows how the site should be rendered.

    A couple of times I also saw problems with your footer not being generated. Not sure what the cause was - but something you might want to look into.

    Comodo Trust Logo
    This requires a snippet of javascript in the header of your website for any page you wish to place the logo onto. I hate this requirement, but they write additional css includes and other items, so it must be there. I do not see this snippet on your site. For example if you were placing the logo on your shopping cart page you would create a new php file 'includes/templates/your_template_name/jscript/shopping_cart.php' (or just use 'includes/templates/your_template_name/jscript/jscript_comodo.php' for all pages). Inside this file put something like the following:
    Code:
    <script type="text/javascript">
    //<![CDATA[
    var cvc_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="'+cvc_loc0+'" type="text\/javascript">' + '<\/scr' + 'ipt>');
    //]]>
    </script>
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

  6. #6
    Join Date
    Sep 2012
    Posts
    38
    Plugin Contributions
    0

    Default Re: comodo trust logo results in SSL hyperlink

    Quote Originally Posted by Meepy12 View Post
    Have I installed the 2 snippets in the correct files? [peachy*swag*.net] remove asterix
    hi

    thanks for you detailed feedback, much appreciated.

    I should explain that I have a template monster template which was also installed by them. Do you think these xhtml tag issues are caused by who ever wrote/ installed the template as I didn't write the tags?

    Are you saying that the worldpay & comodo scripts needed editing before installation?

    thanks

  7. #7
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: comodo trust logo results in SSL hyperlink

    Quote Originally Posted by Meepy12 View Post
    I should explain that I have a template monster template which was also installed by them. Do you think these xhtml tag issues are caused by who ever wrote/ installed the template as I didn't write the tags?
    It has been a long time since I looked at the site. Typically the fix will be changes to the templates, product/category descriptions, html_defines, or ezpages. You can use the w3c validator service to see more detailed error messages and determine where in the outputted XHTML the problems are.

    The footer not appearing could probably be diagnosed the same was as getting a blank or partial page.

    Quote Originally Posted by Meepy12 View Post
    Are you saying that the worldpay & comodo scripts needed editing before installation?
    Those two snippets worked for Comodo in my test environment. Just need to make sure the second one appears in the header and the first one appears where you want your Comodo logo.
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

 

 

Similar Threads

  1. Trust Logo, SSL Logo and Auth Net Logo
    By MagicMan in forum General Questions
    Replies: 4
    Last Post: 28 Jan 2009, 06:19 PM
  2. get rid of comodo trust logo on "View larger image popup"
    By Zeroca in forum General Questions
    Replies: 9
    Last Post: 5 Mar 2008, 09:02 AM
  3. Comodo Trust Logo
    By Fuzion in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 27 May 2007, 02:37 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg