Page 1 of 3 123 LastLast
Results 1 to 10 of 23
  1. #1
    Join Date
    Nov 2009
    Posts
    7
    Plugin Contributions
    0

    Idea or Suggestion Comodo corner of trust seal code insertion help please

    Zen Cart V1.38
    New install with BB3/osticket installed
    SSL cert. install from Comodo went ok...seems to work fine

    Site is installed in both httpdocs and httpsdocs folder.
    Typing www.MYSITE.ca brings me to my site and checkout goes to secure side no prob.

    New Zen user and love it.Been researching since 8am Friday morning but still confused.Found one reference but he used a sidebox.

    3 Questions I need help with plz

    1. Do all files need to be in both folders or can i delete some from each side for not needing them in that folder and how do I know which files needed ?

    2. Comodo sent me some javascript code to copy the below JavaScript in your HTML page's <head> tag. I have no idea where and am nervous about experimenting now the ssl working

    They sent Use the following line if you are displaying your TrustLogoŽ over a STANDARD NON-SECURE page, e.g. http://

    <script language="JavaScript" src="/trustlogo/javascript/trustlogo.js" type="text/javascript">
    </script>

    and

    Use the following line if you are displaying your TrustLogoŽ over a SECURE page, e.g. https://

    <script language="JavaScript" src="https://secure.comodo.net/trustlogo/javascript/trustlogo.js" type="text/javascript">
    </script>


    then last step is : Step 3: Copy and paste the below code into your webpage HTML:

    <!--
    TrustLogo Html Builder Code:
    Shows the logo at URL http://www.MYSITE.ca/images/Comodo images/Corner-of-Trust.gif
    Logo type is ("SC")
    Floating on the undefined
    //-->
    <a href="http://www.instantssl.com" id="comodoTL">SSL</a>
    <script type="text/javascript">TrustLogo("http://www.MYSITE.ca/images/Comodo images/Corner-of-Trust.gif", "SC", "bottomright");</script>


    This is for the floating icon to display..i would like to see on all pages but not sure where to insert these html codes into my php pages
    Does every page have to have this code and where do i place it.

    Thank you so much if anybody can lead me up the proper road to installing this code for it to work.

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

    Default Re: Comodo corner of trust seal code insertion help please

    After your Comodo SSL product has been installed on your site go sign in to the knowledgebase and goto the downloads section. There you will find the COMODO Corner of Trust Logo download. After you have downloaded the image file you will need to upload the image file to your images directory of your Zen Cart install.

    After you have placed the image in the images directory goto http://www.trustlogo.com/ssl-certifi...rt/index2.html

    Once on the Comodo site: You will need to enter the URL to the image on your site https://www.yourdomainname.com/images/secure_site.gif (NOTICE: please use https instead of http if you want the trust logo to appear on all pages) and click the load image button. The Image you uploaded to your images directory should appear, if it doesn't you need to check the URL you typed in for errors.

    The Comodo site will generate the code required to display your Comodo Trust Logo on your site.

    Leave that page up in your browser. You now want to open includes/templates/YOUR_CUSTOM_TEMPLATE/common/html_header.php in a text editor (notepad) and find the following section:

    Code:
    //DEBUG: echo '<!-- I SEE cat: ' . $current_category_id . ' || vs cpath: ' . $cPath . ' || page: ' . $current_page . ' || template: ' . $current_template . ' || main = ' . ($this_is_home_page ? 'YES' : 'NO') . ' -->';
    ?>
    </head>
    <?php // NOTE: Blank line following is intended: ?>
    Now go back to the Comodo site you left open in your browser and copy the first snippet of code and then come back to the text editor and paste the code right before the </head> tag So that you end up with the following (sample code do not use):

    Code:
    //DEBUG: echo '<!-- I SEE cat: ' . $current_category_id . ' || vs cpath: ' . $cPath . ' || page: ' . $current_page . ' || template: ' . $current_template . ' || main = ' . ($this_is_home_page ? 'YES' : 'NO') . ' -->';
    ?>
    <script language="javascript" type="text/javascript">
    //<![CDATA[
    var cot_loc0=(window.location.protocol == "https:")? "https://secure.comodo.net/trustlogo/javascript/cot.js" :
    "http://www.trustlogo.com/trustlogo/javascript/cot.js";
    document.writeln('<scr' + 'ipt language="JavaScript" src="'+cot_loc0+'" type="text\/javascript">' + '<\/scr' + 'ipt>');
    //]]>
    </script>
    </head>
    <?php // NOTE: Blank line following is intended: ?>
    Save the file and upload back to the server in includes/templates/YOUR_CUSTOM_TEMPLATE/common directory

    You now want to open includes/templates/YOUR_CUSTOM_TEMPLATE/common/tpl_main_page.php in a text editor (notepad) and find the following section:

    Code:
    <!--eof- banner #6 display -->
    </body>
    Now go back to the Comodo site you left open in your browser and copy the second snippet of code and then come back to the text editor and paste the code right before the </body> tag so that you end up with the following (sample code do not use):

    Code:
    <!--eof- banner #6 display -->
    <a href="http://www.instantssl.com" id="comodoTL">SSL</a>
    <script language="JavaScript" type="text/javascript">
    COT("https://www.yourdomain.com/images/secure_site.gif", "SC2", "none");
    </script>
    </body>
    Save the file and upload back to the server in includes/templates/YOUR_CUSTOM_TEMPLATE/common directory

    Thats it your all done. Refresh your site and the Comodo Corner of Trust Logo should appear in the lower right corner of the browser window.
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  3. #3
    Join Date
    Nov 2009
    Posts
    7
    Plugin Contributions
    0

    Default Re: Comodo corner of trust seal code insertion help please

    Thank you for your very fast reply ...I really appreciate your help

    I worked on this till way early in the morning but couldnt get it to work properly..actually redid it a couple times but same end results.
    I uploaded corner of trust logo to my site..np
    went to the comodo site and did the code snippet ..np

    I then copied the folders,common,images,sideboxes,save info ,templates,css and the template_info.php to a folder named my_template and put it in includes/templates

    I changed the html_header.php and the tpl_main_page.php files with the snippets from comodo..np...uploaded back to includes/templates/my_template

    then reset template and side boxes from admin back end but WOW

    the logo showed up np...on bottom left instead of bottom right but the colors of my template went crazy..pink,blues,purples and orange in the sidebox title areas...very pretty but not my thing lol
    here is a link to see what I mean..will be working on it all day Sunday,Nov 15/09 to try to fix but saved the folder that worked the closest and am trying to start from scratch again to see what i did wrong..seems easy but i am not getting the right results.

    www.shoponlinenow.ca
    Thank you so much for any assistance to fix this,getting closer to being able to continue to paypal testing soon.

  4. #4
    Join Date
    Nov 2009
    Posts
    7
    Plugin Contributions
    0

    Default Re: Comodo corner of trust seal code insertion help please

    I also noticed the logo it says not secured connection to firefox...not sure why yet..one step at a time

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

    Default Re: Comodo corner of trust seal code insertion help please

    What you got with the copying of folders into a custom template was a copy of the default template. You might have been better to copy the classic template into the custom folder, and then copy from the default template only those files that needed to be edited for the addition of the comodo code.
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  6. #6
    Join Date
    Nov 2009
    Posts
    7
    Plugin Contributions
    0

    Default Re: Comodo corner of trust seal code insertion help please

    Thank you again barco57,you have been a great help with this.

    I did get my_template folder working this morning to get the color explosion problem fixed,with the seal showing, but for the likes of me I cannot get it to move anywhere.The comodo snippet had the placement code and it looked proper but it just stays on the bottom left no matter what. Any suggestions on how to place better would be greatly appreciated.
    Another step almost completed..

    Ive definitely been Zenned and very impressed with Zen cart.
    Thank you for any suggestions

  7. #7
    Join Date
    Nov 2009
    Posts
    7
    Plugin Contributions
    0

    Default Re: Comodo corner of trust seal code insertion help please

    I since then saved the semi working folder that showed image on bottom left and installed the comodo trust logo contribution...now it shows the text on the bottom right floating properly but no image showing up...and credentials not showing...I will try comodo customer service in the morning to see if there is a solution.

    Least its moved from bottom left with the image showing to the right bottom floating where its suppose to be with no image lol

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

    Default Re: Comodo corner of trust seal code insertion help please

    Apparently trying to pull the image secure or from the secure folder throws a forbidden error but pulling the image from the un-secure folder works. There are few things worse than having to deal with the 2 sets of files of a setup like yours......
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  9. #9
    Join Date
    Nov 2009
    Posts
    7
    Plugin Contributions
    0

    Default Re: Comodo corner of trust seal code insertion help please

    I fully agree with that having 2 sets of files is a real pain...is there a better way to do it...I started off installing completely in the httpsdocs secured folder but had to upload to the other for some reason,not sure why.

    The clean up at the end will be a real pain...having to try the secured folders first then if not work install to httpdocs unsecured side...im always watching the url to see where the file is.

    Is there a better way to approach this situation...would rather start fresh with a new install and simplify matters but being new to Zen cart thought this was the proper way to do it.

    Thanks for your help and input again..is nice to have experienced people putting time into helpping others. You are an outstanding member for sure.
    Anybody have any ideas for the text showing now on the proper corner but no image...its still early here and comodo not available yet.

    Thanks again

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

    Default Re: Comodo corner of trust seal code insertion help please

    Get a host that doesn't require a separate folder for the secure side. When set up correctly it is not required.
    If the host doesn't require this and you just set it up that way, then delete the secure folder you created and do everything out of one folder.
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. Where to insert Comodo Trust Javascript and image code?
    By leeasteadman in forum Templates, Stylesheets, Page Layout
    Replies: 16
    Last Post: 27 Jul 2007, 05:09 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