X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   How to add a Secure Cert Logo to your pages (https://forum.x-cart.com/showthread.php?t=6004)

eastman 07-20-2006 08:21 AM

Thanks to Shan for the great mod and LouOffroad for the 4.0 instructions.

ncups@cox.net 12-05-2006 10:31 PM

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.

big pine kenny 12-16-2006 06:41 PM

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>

newattraction 01-14-2007 10:01 AM

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:lol:
FOR X-CART GOLD v4.1.5:D

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

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

nfc5382 01-14-2007 01:53 PM

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

herbj 03-19-2007 05:40 AM

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.

MarkH 03-22-2007 12:15 AM

Re: How to add a Secure Cert Logo to your pages
 
find that file and re-try?

herbj 03-22-2007 04:32 AM

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

MarkH 03-22-2007 04:34 AM

Re: How to add a Secure Cert Logo to your pages
 
Glad you got that fixed : )


Cheers,

Mark

sandyscloset 06-06-2007 06:06 PM

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.


All times are GMT -8. The time now is 06:50 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.