Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Mar 2008
    Posts
    73
    Plugin Contributions
    0

    Default Place Comodo site seal in Sidebox

    I have spent several hours trying to find this answer in forum; my apologies if I am duplicating the topic.

    I am using zencart 1.5.1.

    After spending over a week trying to install a functional site seal (i.e. one with an active verification link) in the sidebox (via Instant SSL) I have successfully installed the comodo site seal on the website. I did so by installing it in the following places:

    the trust logo header(the first part of the code) goes in include/templates/YOUR TEMPLATE/commom/html-header.php hust above the </head> (located at the very bottom.

    the second part goes in includes/templates/YOUR TEMPLATE/common/tpl_main_page.php just above the </body>. (located at the bottom.) make sure you image path is correct. ex. /images.secure_site.gif or /catalog/images.secure.site.gif

    In previous years, I had used Instant SSL in a sidebox but it did not work with the new comodo certificate. As you can see on the website, I now have two site seals--the sidebox one which does not have an active link and one in the bottom left corner of the page.

    www.dancingtothespiritofthewood.com

    I would prefer to have the seal in the sidebox but nothing I have tried has worked.

    Is it possible to put the current seal and active link in the "Security" sidebox and, if so, please tell me exactly how to do so.

    I am not a newbie but I am not very competent in coding and definitely not good at finding the right file(s) to alter.

    Thanks (in advance) for your help.

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

    Default Re: Place Comodo site seal in Sidebox

    It is an older plugin but should still work
    https://www.zen-cart.com/downloads.php?do=file&id=506

  3. #3
    Join Date
    Mar 2008
    Posts
    73
    Plugin Contributions
    0

    Default Re: Place Comodo site seal in Sidebox

    Wow--that was sure quick; thanks so much.

    I did try this already--the image shows up just fine but I can't get the link to the verification page to work. I've tried following the instructions with the read me file for Comodo Instant SSL but unless I'm missing something it only gets the image loaded into a new sidebox and that (in spite of my ignorance!) I already managed to do.

    Barring having the seal in a sidebox, is there a way to have it appear in the footer instead of on the bottom left edge of the whole web page?

    (Thanks, in advance, for all the time and assistance. I really appreciate it and do NOT take it for granted.)

  4. #4
    Join Date
    May 2009
    Posts
    1,254
    Plugin Contributions
    3

    Default Re: Place Comodo site seal in Sidebox

    Have you tried this:
    https://www.zen-cart.com/downloads.php?do=file&id=80

    You could try coding it in the tpl_footer.php file (YOUR_TEMPLATE/common/tpl_footer.php)
    Last edited by keneso; 24 Dec 2015 at 12:31 PM.

  5. #5
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,545
    Plugin Contributions
    127

    Default Re: Place Comodo site seal in Sidebox

    Be sure to do some performance tests after making a change like this. Previous versions of the Comodo sidebox added several seconds to each page load.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  6. #6
    Join Date
    Mar 2008
    Posts
    73
    Plugin Contributions
    0

    Default Re: Place Comodo site seal in Sidebox

    Thank you all for the suggestions. I will see if I can resolve this after the holiday. I would like to not use the "instant ssl" sidebox if it causes loading issues, although I've not noticed this to be a problem. I will try inserting the code in the footer and if that does not work then try the blank sidebox.

    However, in looking at the tpl_footer.php file I come up with the same problem I've had with trying to install in the sidebox. The instructions to install the code are these:

    Please insert the following two snippets of HTML code into your webpage document. You will need to repeat the process for each web page you wish to display the TrustLogo.

    Add this before your </HEAD/ tag:

    <script type=”text/javascript”> //<![CDATA[
    var tlJsHost = ((window.location.protocol == “https:”) ? “https://secure.comodo.com/” : “http://www.trustlogo.com/”);
    document.write(unescape(“%3Cscript src=’” + tlJsHost + “trustlogo/javascript/trustlogo.js’ type=’text/javascript’%3E%3C/script%3E”));
    //]]>
    </script>

    Add this before your <BODY> tag

    <script language=”JavaScript” type=”text/javascript”>
    TrustLogo(“http://MY_STORE.com/images/comodo_se...ite.png”, “CL1”, “none”);
    </script>
    <a href=”https://ssl.comodo.com” id=”comodoTL”>SSL Certificate</a>

    In the footer template there is no HEAD or BODY tag (at least that I can see) so I don't know where/how to insert the code. I've searched quite a while for an answer to this but I evidently just don't understand coding well enough (or at least don't understand php) to make this work.

    I got the site seal to appear on the webpage (with the working verification link) by inserting it in the /templates/YOUR_TEMPLATE/common/html_header.php file (which had the HEAD tag), and the second part by inserting it in the includes/templates/YOUR TEMPLATE/common/tpl_main_page.php (which had the BODY tag)

    I can't remember where I found the instructions to do this (it was in one of the zencart forums). If all else fails I'll just remove the Instant SSL sidebox and let the seal live in the lower left corner. It doesn't look great there but at least it works.

    Thanks again for your suggestions and patience. I know it must be tiresome to have to deal with we novices when the solutions are probably pretty obvious to those with more experience.

    Happy holidays to you all, and thanks again.

  7. #7
    Join Date
    May 2009
    Posts
    1,254
    Plugin Contributions
    3

    Default Re: Place Comodo site seal in Sidebox

    Indeed you found the correct files for the head and body.

    For the js in head you could have used the jscript folder in YOUR_TEMPLATE structure, but to not confuse you furthermore just leave it in the html_header.php
    If you put
    Code:
    <script language=”JavaScript” type=”text/javascript”>
    TrustLogo(“http://MY_STORE.com/images/comodo_se...ite.png”, “CL1”, “none”);
    </script>
    <a href=”https://ssl.comodo.com” id=”comodoTL”>SSL Certificate</a>
    in your tpl_footer.php it will work fine (I tested it on my local setup).

    If you need more control about the styling you could wrap it in a div like this
    Code:
    <div id="comodo-ssl">
    <script language=”JavaScript” type=”text/javascript”>
    TrustLogo(“http://MY_STORE.com/images/comodo_se...ite.png”, “CL1”, “none”);
    </script>
    <a href=”https://ssl.comodo.com” id=”comodoTL”>SSL Certificate</a>
    </div>
    and add styling in your YOUR_TEMPLATE/css/stylesheet.css

    Whatever you choose you'd need to play with positioning and styling of it.

    And happy holidays to you too.

  8. #8
    Join Date
    Mar 2008
    Posts
    73
    Plugin Contributions
    0

    Default Re: Place Comodo site seal in Sidebox

    I thank you so much for even checking on this forum on Christmas Eve--I had some time this morning I tried your suggestion to insert the code into the footer.php file.

    I'm still obviously missing something; I tried inserting the code in every single line on the tpl_footer.php and every time I get a syntax error indication (the following is "greyed out" using Dreamweaver CS6): //MY_STORENAME.com/images/comodo_secure_52x63_white.png”, “CL1”, “none”);

    When I upload the file, SSL site certificate shows up in the footer, but no image and clicking on the link takes one to a 404 page.

    Here's the tpl_footer.php file:

    <?php
    /**
    * Common Template - tpl_footer.php
    *
    * this file can be copied to /templates/your_template_dir/pagename<br />
    * example: to override the privacy page<br />
    * make a directory /templates/my_template/privacy<br />
    * copy /templates/templates_defaults/common/tpl_footer.php to /templates/my_template/privacy/tpl_footer.php<br />
    * to override the global settings and turn off the footer un-comment the following line:<br />
    * <br />
    * $flag_disable_footer = true;<br />
    *
    * @package templateSystem
    * @copyright Copyright 2003-2005 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * @version $Id: tpl_footer.php 4821 2006-10-23 10:54:15Z drbyte $
    */

    require(DIR_WS_MODULES . zen_get_module_directory('footer.php'));
    ?>


    <?php
    if (!isset($flag_disable_footer) || !$flag_disable_footer) {
    ?>

    <!--bof-navigation display -->
    <div id="navSuppWrapper">
    <div id="navSupp">
    <ul>
    <li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li>
    <?php if (EZPAGES_STATUS_FOOTER == '1' or (EZPAGES_STATUS_FOOTER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) { ?>
    <li><?php require($template->get_template_dir('tpl_ezpages_bar_footer.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_footer.php'); ?></li>
    <?php } ?>
    </ul>

    </div>

    </div>


    <!--eof-navigation display -->

    <!--bof-ip address display -->
    <?php
    if (SHOW_FOOTER_IP == '1') {
    ?>
    <div id="siteinfoIP"><?php echo TEXT_YOUR_IP_ADDRESS . ' ' . $_SERVER['REMOTE_ADDR']; ?></div>
    <?php
    }
    ?>
    <!--eof-ip address display -->

    <!--bof-banner #5 display -->
    <?php
    if (SHOW_BANNERS_GROUP_SET5 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET5)) {
    if ($banner->RecordCount() > 0) {
    ?>
    <div id="bannerFive" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
    <?php
    }
    }
    ?>
    <!--eof-banner #5 display -->

    <!--bof- site copyright display -->
    <div id="siteinfoLegal" class="legalCopyright"><?php echo FOOTER_TEXT_BODY; ?></div>
    <!--eof- site copyright display -->

    <?php
    } // flag_disable_footer
    ?>


    Where do I insert the script so it works? I'm so sorry to be so dense; I really thought I understood this stuff a little better, but this issue has me totally stumped.

    Please don't fuss with this today--but whenever you have a chance, I sincerely appreciate your help. I'd really like to make this work somehow!

    Merry Christmas!

  9. #9
    Join Date
    May 2009
    Posts
    1,254
    Plugin Contributions
    3

    Default Re: Place Comodo site seal in Sidebox

    No problem, isn't this part of Christmas spirit? ;)

    I think it might be a character encoding issue, please copy paste the two following code snips:

    header
    Code:
    <script type="text/javascript"> //<![CDATA[ 
    var tlJsHost = ((window.location.protocol == "https:") ? "https://secure.comodo.com/" : "http://www.trustlogo.com/");
    document.write(unescape("%3Cscript src='" + tlJsHost + "trustlogo/javascript/trustlogo.js' type='text/javascript'%3E%3C/script%3E"));
    //]]>
    </script>
    footer
    Code:
    <div id="comodo-ssl">
    <script language="JavaScript" type="text/javascript">
    TrustLogo("http://dancingtothespiritofthewood.com/includes/templates/template_default/images/comodo_secure_52x63_white.png", "CL1", "none");
    </script>
    <a  href="https://www.positivessl.com/" id="comodoTL">Positive SSL</a>
    </div>
    You can paste the footer piece either right before <!--bof-navigation display --> like this
    Code:
    <div id="comodo-ssl">
    <script language="JavaScript" type="text/javascript">
    TrustLogo("http://dancingtothespiritofthewood.com/includes/templates/template_default/images/comodo_secure_52x63_white.png", "CL1", "none");
    </script>
    <a  href="https://www.positivessl.com/" id="comodoTL">Positive SSL</a>
    </div>
    <!--bof-navigation display -->
    or between <!--eof-navigation display --> and <!--bof-ip address display --> like this
    Code:
    <!--eof-navigation display -->
    <div id="comodo-ssl">
    <script language="JavaScript" type="text/javascript">
    TrustLogo("http://dancingtothespiritofthewood.com/includes/templates/template_default/images/comodo_secure_52x63_white.png", "CL1", "none");
    </script>
    <a  href="https://www.positivessl.com/" id="comodoTL">Positive SSL</a>
    </div>
    <!--bof-ip address display -->
    or after <!--eof- site copyright display --> like this
    Code:
    <!--eof- site copyright display -->
    <div id="comodo-ssl">
    <script language="JavaScript" type="text/javascript">
    TrustLogo("http://dancingtothespiritofthewood.com/includes/templates/template_default/images/comodo_secure_52x63_white.png", "CL1", "none");
    </script>
    <a  href="https://www.positivessl.com/" id="comodoTL">Positive SSL</a>
    </div>
    You need to remove the snip you have in tpl_main_page.php

    Please make a backup copy of your working files, so that if something doesn't work as expected you can always go back to your working one.

    OT
    I see you did use the classic template, and modified that, which you shouldn't have, instead you should have created your own custom template, maybe for the next cart you should do so.
    Based on the above I'd have suggested to use the override structure, and put the ssl image in YOUR_TEMPLATE image folder, and correct the path in the footer snip to point there, but as it's now you can leave it as it is.

  10. #10
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    Plugin Contributions
    0

    Default Re: Place Comodo site seal in Sidebox

    dreamweaver doesn't like the protocol agnostic way in which the image call url is put together. So, either use a real ftp client and don't use dreamweaver for this or change the image call to declare the protocol. Keneso is close, bit the protocol needs to be set too https: versus http: you can call secure into an unsecure page but you can't call unsecure into a secure page.

    Code:
    TrustLogo("https://dancingtothespiritofthewood.com/includes/templates/template_default/images/comodo_secure_52x63_white.png", "CL1", "none");
    Last edited by barco57; 25 Dec 2015 at 11:45 PM.
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Comodo Possitive ssl seal not showing up
    By hardwiredtemplates in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 5 Jul 2011, 06:07 AM
  2. Instant Comodo SSL seal not showing up?
    By penster_01 in forum Basic Configuration
    Replies: 3
    Last Post: 14 Dec 2009, 02:56 PM
  3. Comodo Instant SSL Site Seal
    By autoace in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 15 Oct 2009, 07:08 PM
  4. positioning of Comodo seal popup
    By styledata in forum General Questions
    Replies: 2
    Last Post: 9 Aug 2006, 07:49 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