Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

How to add a Secure Cert Logo to your pages

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #31  
Old 07-20-2006, 08:21 AM
 
eastman eastman is offline
 

Advanced Member
  
Join Date: Aug 2005
Location: Wyoming
Posts: 74
 

Default

Thanks to Shan for the great mod and LouOffroad for the 4.0 instructions.
__________________
X-Cart Pro v4.4.3
Reply With Quote
  #32  
Old 12-05-2006, 10:31 PM
 
ncups@cox.net ncups@cox.net is offline
 

Newbie
  
Join Date: Apr 2006
Posts: 5
 

Unhappy Re: How to add a Secure Cert Logo to your pages

Thanks to Shan's post I had the comodo cert. logo working.

Unfortunately, a couple of days ago the logo quit displaying without me making any changes to the site. I have tried re-installing and setting it up again several times to no avail. If anyone has any ideas on how to get the logo to show up again on x-cart gold 4.1.3 with the fashion mosaic template I'm all ears.

I have tried all of the other mods listed in this thread and none seem to work.
__________________
X-Cart Gold Version 4.1.3
X-Configurator
Fashion Mosaic
Linux Server
Reply With Quote
  #33  
Old 12-16-2006, 06:41 PM
  big pine kenny's Avatar 
big pine kenny big pine kenny is offline
 

Advanced Member
  
Join Date: Nov 2006
Location: Florida Keys
Posts: 84
 

Default Re: How to add a Secure Cert Logo to your pages

I also can not get my image, it is taken from there web site. They said to use this to display logo. I belive it would be the same as Geo Trust does anyone know or can show me.
<script language="Javascript" src="<A href="https://seal.godaddy.com/getSeal?sealID=307034"></script">https://seal.godaddy.com/getSeal?sealID=307034"></script>
__________________
X-Cart Gold v5.3 [unix]
http://tools-rvsupplies.com
Reply With Quote
  #34  
Old 01-14-2007, 10:01 AM
  newattraction's Avatar 
newattraction newattraction is offline
 

Member
  
Join Date: Oct 2006
Posts: 17
 

Thumbs up Another Way to Add a Comodo InstallSSL Secure Cert Logo to Your Pages

Another Way to Add a Comodo InstallSSL Secure Cert Logo to Your Pages
FOR X-CART GOLD v4.1.5

Assuming that your X-Cart install directory is ⌠xcartdirectory■, and you saved your Comodo InstallSSL logo image in skin1\images\secure_site.gif.

Step 1. Make a new file \skin1\secure_cert.tpl:

Code:
{literal}<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>{/literal}

Step 2. Add the following code:

Code:
{include file="secure_cert.tpl"}

To the very beginning part of the following files:
  • \skin1\head.tpl --(right after {* $Id: head.tpl,v 1.58 2006/03/17 08:50:44 svowl Exp $ *})
  • \skin1\head_admin.tpl --(right after {* $Id: head_admin.tpl,v 1.10 2006/03/17 08:50:44 svowl Exp $ *} )
  • AND any other header files of the pages where you want the logo to appear.
Step 3. Make a new file \skin1\secure_logo.tpl:

Code:
{literal}<script language="JavaScript" type="text/javascript"> COT("../xcartdirectory/skin1/images/secure_site.gif", "SC2", "none"); </script>{/literal}

Change xcartdirectory accordingly. If your X-Cart is installed in root, use: ../skin1/images/secure_site.gif.

Step 4. Add the following code:

Code:
{include file="secure_logo.tpl"}

To the very bottom part of the following files:
  • \skin1\bottom.tpl --(right after </table>)
  • AND any other footer files of the pages where you want the logo to appear.
DONE!

IMPORTANT NOTE: Please use relative path in your script (with few exceptions). That means NO http:// in any of your .tpl files that will output to a web page. Otherwise, security warning may pop up. Example: Use URL ../home.php for HOME tab on Speed Bar instead of URL http://mydomain.com/.

Feel free to visit my site www.vonbell.com, add an item to cart, and click on "Checkout" to see how it works.

Good luck!

Guosheng
VonBell
www.vonbell.com
__________________
www.vonbell.com
xcart v4.1.6
Reply With Quote
  #35  
Old 01-14-2007, 01:53 PM
 
nfc5382 nfc5382 is offline
 

X-Adept
  
Join Date: Nov 2002
Posts: 480
 

Default Re: How to add a Secure Cert Logo to your pages

i noticed that with the secure logo, sometimes the site will hang when trustlogo.com is slow. might want to just put the logo and not link to anything...
__________________
-----------------------
x-cart v4.7.6 [LIVE]
x-cart v4.0.18 [retired 2004-2016]
x-cart v3.5.13 [retired]
x-cart v3.4.14 [retired]
Reply With Quote
  #36  
Old 03-19-2007, 05:40 AM
  herbj's Avatar 
herbj herbj is offline
 

Advanced Member
  
Join Date: Feb 2007
Location: Florida
Posts: 62
 

Default Re: How to add a Secure Cert Logo to your pages

Quote:
Originally Posted by Gibberish
Here is mod if you use GeoTrust.

secure_cert.tpl:

Code:
<table width="100%" border="0" cellspacing="0" cellpadding="5"> <tr> <td align="center" valign="top"> {literal} <script language="JavaScript" type="text/javascript" src="https://smarticon.geotrust.com/si.js"></script> {/literal}</td> </tr> </table>

customer/home.tpl:

Code:
{* SECURE SITE CODE STARTS HERE *} {literal} <script language="JavaScript" fptype="dynamicanimation"> <!-- function dynAnimation() {} function clickSwapImg() {} //--> </script> <script language="JavaScript1.2" fptype="dynamicanimation" src="http://www.mywebsite.com/animate.js"> </script> {/literal} {* SECURE SITE CODE ENDS HERE *}
[/code]

I receive an error in my server log when I load my site and the load calls this section of code:

Code:
<script language="JavaScript1.2" fptype="dynamicanimation" src="http://www.mywebsite.com/animate.js"> </script>

The error is: "http://www.collectibleswordsusa.com/animate.js" File not found.

I copied the code verbatim and installed were indicated. Should I have done something more. I do not have the file "/animate.js" in my root.

Any help appreciated.
Reply With Quote
  #37  
Old 03-22-2007, 12:15 AM
  MarkH's Avatar 
MarkH MarkH is offline
 

Senior Member
  
Join Date: Mar 2007
Location: Newcastle, United Kingdom
Posts: 166
 

Default Re: How to add a Secure Cert Logo to your pages

find that file and re-try?
__________________
Web Development Manager / Security
X-Cart 4.0.13 + Customisations
Payment Card Industry Compliant Web Site

WWW: http://www.tommeetippee.co.uk/
MSN: info@voxia.co.uk
Reply With Quote
  #38  
Old 03-22-2007, 04:32 AM
  herbj's Avatar 
herbj herbj is offline
 

Advanced Member
  
Join Date: Feb 2007
Location: Florida
Posts: 62
 

Default Re: How to add a Secure Cert Logo to your pages

Quote:
Originally Posted by MarkH
find that file and re-try?

That would be the obvious step, however it turns out that little snippet of code has nothing to do with the GeoTrust Cert Logo.

I just removed the code and that fixed the problem.

Not sure why that code was included in previous posts but I had no use for it. It may be correct for someone else's install but not mine.

Either way I appreciate all the efforts of everyone here on the forum that help make x-cart all it can be.

I certainly appreciate all the guidance that is provided for us beginners-!!
Reply With Quote
  #39  
Old 03-22-2007, 04:34 AM
  MarkH's Avatar 
MarkH MarkH is offline
 

Senior Member
  
Join Date: Mar 2007
Location: Newcastle, United Kingdom
Posts: 166
 

Default Re: How to add a Secure Cert Logo to your pages

Glad you got that fixed : )


Cheers,

Mark
__________________
Web Development Manager / Security
X-Cart 4.0.13 + Customisations
Payment Card Industry Compliant Web Site

WWW: http://www.tommeetippee.co.uk/
MSN: info@voxia.co.uk
Reply With Quote
  #40  
Old 06-06-2007, 06:06 PM
 
sandyscloset sandyscloset is offline
 

Advanced Member
  
Join Date: Jun 2007
Posts: 43
 

Default Re: How to add a Secure Cert Logo to your pages

NewAttraction, I followed your instructions above and finally got the comodo logo to show up fine, just one glitch, got this squirly code showing up at the top of every site page: (  ) basically that's supposed to be an i with 2 dots over it, 2 brackets and an upside down question mark...

Not sure which of the 5 pages of code above would create this, you can see it at http://sandyscloset.net/home.php

anyone have any ideas? thanks in advance.
__________________
www.sandyscloset.net/home.php/Gold
xcart gold - 4.1.10
X-AOM, DSEFU, X-cart Site map, Firetank's Featured Product Manager and Feedmanager Bundle, BCSEnginneering Product Meta Tags Plus, Category Meta Title Control, Static Page Meta Tag Control, and Variant Modifier,

Hosting by EWD Hosting
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:07 PM.

   

 
X-Cart forums © 2001-2020