Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17
  1. #11
    Join Date
    Jun 2004
    Location
    Northern Rivers, NSW
    Posts
    159
    Plugin Contributions
    0

    help question Re: Where to insert Comodo Trust Javascript and image code?

    I am trying to add a javascript to my site, and having followed the instructions in this (and a few other) thread I still can't get the blasted thing to work.

    It is a click to expand menu type script that I want to use with my product description. I have sections in my description that would be good to collapse so the viewer can just open whatever they need to read. The site is www.shopwicked.com/store to give you an idea of the product description layout, but the changes have only be added locally. The header script needs to be in the head section and the body script needs to be in the product description itself.

    I added my header script to includes/templates/wicked15/product_info/html_header.php just above the </header> tag. I added the body code to the product description via Admin\Catalog\Categories/Products.
    It doesn't work.

    Any help would be most appreciated.

  2. #12
    Join Date
    Feb 2006
    Posts
    326
    Plugin Contributions
    0

    Default Logo not showing, or showing intermittently

    Hi,
    My Comodo logo is not displaying properly (following upgrade to 1.37). I have installed it as follows:

    in mytemplate/common/html_header.php, just before </head>:

    <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>

    in mytemplate/common/tpl_main_page.php just before </body>:
    <script language="JavaScript" type="text/javascript">
    COT("https://www.photoimprints.com/images/secure_site.gif", "SC2", "none");
    </script>.

    Now when I first did this yesterday, the corner logo displayed properly. Now it's gone. I see that it is being called on page load, but no display.

    Does anyone have any ideas? I would like to fix this ASAP!
    Thank you
    Give us your best shot!
    http://www.photoimprints.com

  3. #13
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Where to insert Comodo Trust Javascript and image code?

    there is no callfor the image
    looking at view source the script from tpl_main_page.php is missing
    Zen cart PCI compliant Hosting

  4. #14
    Join Date
    Feb 2006
    Posts
    326
    Plugin Contributions
    0

    Default Re: Where to insert Comodo Trust Javascript and image code?

    Hi, thanks for your quick response! I think there is actually an underlying problem. This is exactly what is at the end of my /mytemplate/common/tpl_main_page.php file:

    <!--eof- banner #6 display -->
    <script language="JavaScript" type="text/javascript">
    COT("https://www.photoimprints.com/images/secure_site.gif", "SC2", "none");
    </script></body>

    However, as you said, when you view the source of the compiled page, there is no script, in fact, a whole section is missing that DOES show up on a working site of mine, as follows:

    <!--bof-navigation display -->
    <div id="navSuppWrapper">
    <div id="navSupp">
    <ul>
    <li><a href="http://www.religiouskeepsakes.com/">Home</a></li>
    <li></li>
    </ul>
    </div>
    </div>
    <!--eof-navigation display -->

    <!--bof-ip address display -->
    <div id="siteinfoIP">Your IP Address is: 66.32.74.90</div>
    <!--eof-ip address display -->

    <!--bof-banner #5 display -->
    <!--eof-banner #5 display -->

    <!--bof- site copyright display -->
    <div id="siteinfoLegal" class="legalCopyright">Copyright &copy; 2003-2006 <a href="http://www.zen-cart.com" target="_blank">Zen Cart</a>. Powered by <a href="http://www.zen-cart.com" target="_blank">Zen Cart</a></div>
    <!--eof- site copyright display -->

    </div>
    <!--bof- parse time display -->
    <!--eof- parse time display -->
    <!--bof- banner #6 display -->
    <!--eof- banner #6 display -->
    <script language="JavaScript">COT("http://www.religiouskeepsakes.com/images/secure_site.gif", "SC2", "none");</script>
    </body></html>

    when I compare the tpl_main_file of the working site with the tpl_main_file of the not working site in winmerge, I am getting an EOF error, which I am not sure what to do with. I tried reloading a fresh tpl_main_file but I am still not getting all the source code at the end.

    Any ideas? Thanks very much!
    Give us your best shot!
    http://www.photoimprints.com

  5. #15
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Where to insert Comodo Trust Javascript and image code?

    when you get that issue taken care of remember to use the HTTPS ion the image source code or you will throw a non secure error
    Zen cart PCI compliant Hosting

  6. #16
    Join Date
    Feb 2006
    Posts
    326
    Plugin Contributions
    0

    Default Re: Where to insert Comodo Trust Javascript and image code?

    Quote Originally Posted by Merlinpa1969 View Post
    when you get that issue taken care of remember to use the HTTPS ion the image source code or you will throw a non secure error
    I don't know HOW to take care of that issue. That's what I am hoping to get help on. :)
    Give us your best shot!
    http://www.photoimprints.com

  7. #17
    Join Date
    Feb 2006
    Posts
    326
    Plugin Contributions
    0

    Default Re: Where to insert Comodo Trust Javascript and image code?

    I believe I got it! I would appreciate it if you take another look to confirm. I reloaded all the common files from scratch, and reset the scripts. I must have goofed something up in one or more of those files originally. Just goes to show you that the problem you think you have may not be the problem you have.
    Thanks,
    Give us your best shot!
    http://www.photoimprints.com

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Comodo corner of trust seal code insertion help please
    By allen2 in forum Basic Configuration
    Replies: 22
    Last Post: 6 Jul 2010, 06:48 AM
  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. Where do I insert this javascript??
    By high2K in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 12 Feb 2008, 10:14 AM
  4. 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