Forums / Basic Configuration / Comodo corner of trust seal code insertion help please

Comodo corner of trust seal code insertion help please

Locked

Views: 10,627

Results 1 to 20 of 23
This thread is locked. New replies are disabled.
15 Nov 2009, 2:59 AM
#1
allen2 avatar

allen2

New Zenner

Join Date:
Nov 2009
Posts:
7
Plugin Contributions:
0

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 https://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. :frusty: :wacko:

15 Nov 2009, 4:04 AM
#2
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,845
Plugin Contributions:
0

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-certificate-support/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:

//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):

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

<!--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):

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

15 Nov 2009, 6:08 PM
#3
allen2 avatar

allen2

New Zenner

Join Date:
Nov 2009
Posts:
7
Plugin Contributions:
0

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.

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

15 Nov 2009, 6:34 PM
#4
allen2 avatar

allen2

New Zenner

Join Date:
Nov 2009
Posts:
7
Plugin Contributions:
0

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

16 Nov 2009, 3:26 AM
#5
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,845
Plugin Contributions:
0

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!

16 Nov 2009, 4:03 AM
#6
allen2 avatar

allen2

New Zenner

Join Date:
Nov 2009
Posts:
7
Plugin Contributions:
0

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..:clap:

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

16 Nov 2009, 5:23 AM
#7
allen2 avatar

allen2

New Zenner

Join Date:
Nov 2009
Posts:
7
Plugin Contributions:
0

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:wacko::clap:

16 Nov 2009, 10:25 AM
#8
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,845
Plugin Contributions:
0

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!

16 Nov 2009, 11:03 AM
#9
allen2 avatar

allen2

New Zenner

Join Date:
Nov 2009
Posts:
7
Plugin Contributions:
0

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:cool::cool::lamo:

16 Nov 2009, 9:55 PM
#10
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,845
Plugin Contributions:
0

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!

20 Nov 2009, 9:45 AM
#11
allen2 avatar

allen2

New Zenner

Join Date:
Nov 2009
Posts:
7
Plugin Contributions:
0

Re: Comodo corner of trust seal code insertion help please

Thank you a lot for your help.

I was not aware that some hosts required it and some did not.
I host with Dotster and have had complete control over everything I have had to do so far without any problems but I did send an email to the support desk to enquire about that.

:smile:Thank you

29 Nov 2009, 4:12 AM
#12
kcb410 avatar

kcb410

Zen Follower

Join Date:
Dec 2008
Location:
Toronto
Posts:
348
Plugin Contributions:
0

Re: Comodo corner of trust seal code insertion help please

Hello Allen 2,

I have also just installed the Comodo Trustlogo in the bottom right of my web page. The install went perfectly but now when I view my site using https in Firefox I also get a warning in the bottom right that says, 'Warning: contains unathenticated content'. Were you able to resolve this issue?? If so how did you do it?

Any help would be appreciated.

Thanks.

ZC 1.3.8a
PHP Version: 5.2.11
MySQL 5.0.81

29 Nov 2009, 1:47 PM
#13
kcb410 avatar

kcb410

Zen Follower

Join Date:
Dec 2008
Location:
Toronto
Posts:
348
Plugin Contributions:
0

Re: Comodo corner of trust seal code insertion help please

an update sorry...... I also get the 'Security Warning' popup in Internet Explorer for every page I try to load in https.

Any help is appreciated.

Thanks.

29 Nov 2009, 5:16 PM
#14
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,845
Plugin Contributions:
0

Re: Comodo corner of trust seal code insertion help please

When you set up the corner of trust logo you did not set it to be called secure. Go into the code you inserted for the corner of trust logo and change any http to https

Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!

29 Nov 2009, 11:45 PM
#15
kcb410 avatar

kcb410

Zen Follower

Join Date:
Dec 2008
Location:
Toronto
Posts:
348
Plugin Contributions:
0

Re: Comodo corner of trust seal code insertion help please

barco57:

When you set up the corner of trust logo you did not set it to be called secure. Go into the code you inserted for the corner of trust logo and change any http to https

Thanks Mike. I appreciate your help.

24 May 2010, 2:35 PM
#17
bigal49 avatar

bigal49

Zen Follower

Join Date:
Mar 2010
Location:
California
Posts:
236
Plugin Contributions:
0

Re: Comodo corner of trust seal code insertion help please

This is such a great help for the "novice" even I can follow it.

Thanks for taking the time to put it together!!!

:clap: :D :cool:

Big Al

BigAl49
Al Treadway
http://www.topnotchbassbaits.com

5 Jul 2010, 3:27 AM
#18
aussiesapphire avatar

aussiesapphire

Zen Follower

Join Date:
Apr 2006
Posts:
114
Plugin Contributions:
0

Re: Comodo corner of trust seal code insertion help please

Having real trouble with the Comodo logos - hoping someone here can help me out.

Have just upgraded my site to 1.3.9d - new install with all my mods reinstalled (Dual Pricing, Zen Lightbox, Apsona Shopadmin, Image Handler, Categories Dressing). Upload of old database went smoothly. All seems to be working well - have been getting orders and no reports of problems.

Installed the SSL certificate this morning (Instant SSL from Comodo) and again, all seems to be working normally. Had a few insecure images but pretty sure have tracked those down - not getting warnings when logging in, logging out and going to checkout using IE.

Now just cannot install any type of logo. Tried the Corner of Trust logo instructions here and I get a text SSL in lower left hand corner and an error in IE which I presume is related to this. Am sure I have loaded the code in properly and in the override directories.

I DO have two scrolling boxes on the home page which uses javascript (one text, one for images) - this may be related to problem??

It is probably an obvious problem but I cannot see it - am not a coding expert.

Tried the Trust Logo sidebox but also had problems with that one. Dont mind which one I use, just need something to be visible and working. Help and advice gratefully received.

url is https://www.aussiesapphire.com.au

cheers
Leah

5 Jul 2010, 8:10 AM
#19
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town &amp; London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: Comodo corner of trust seal code insertion help please

aussiesapphire:

Having real trouble with the Comodo logos - hoping someone here can help me out.

You can only use the corner (static) site seal if you have the appropriate Cert. (the more expensive one).

I have configured a simple COMODO sidebox... let me find the mod and I'll zip it up for you and post it later in this thread...

5 Jul 2010, 8:20 AM
#20
aussiesapphire avatar

aussiesapphire

Zen Follower

Join Date:
Apr 2006
Posts:
114
Plugin Contributions:
0

Re: Comodo corner of trust seal code insertion help please

thanks - I would appreciate it.

I am happy with the trustseal - doesnt have to be the corner one.

I asked my host about a badge/seal and they directed me to Comodo's page where you get the code for either one so assumed from that I could use either. However, I can check with them again on this - they are good with questions. Just didnt want to look like a complete drongo.

cheers
Leah