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
  #11  
Old 06-02-2005, 08:39 PM
  Tequilaboy's Avatar 
Tequilaboy Tequilaboy is offline
 

Advanced Member
  
Join Date: May 2005
Posts: 45
 

Default

It is in the X-Cart root. That's what I meant to say.
So, should I put copies of the file in the other folders as well?
__________________
Wicked shirts, and other assorted mayhem.
www.MadRagz.com
-----
X-Cart Gold v 4.0.13
Reply With Quote
  #12  
Old 06-14-2005, 07:13 AM
 
Matt B Matt B is offline
 

Member
  
Join Date: Mar 2005
Posts: 21
 

Default

ok, I'm a way newbie here...so for Geotrust, I need to create a new file called secure_cert.tpl and then upload that to the xcart root? Then I would need to add the code to the customer_home.tpl? Do I add that code at the bottom, or in a particualr spot?

MattB


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]
__________________
4.0.12
Reply With Quote
  #13  
Old 06-14-2005, 07:20 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

you add the code in home.tpl wherever u want the cert to appear
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #14  
Old 08-30-2005, 09:58 AM
 
ObjectZero ObjectZero is offline
 

Member
  
Join Date: Aug 2005
Posts: 21
 

Default

that worked like a charm
Reply With Quote
  #15  
Old 09-07-2005, 07:05 PM
 
mt mt is offline
 

Member
  
Join Date: Mar 2005
Location: Australia!!
Posts: 16
 

Default

I am having trouble placing the trust logo on our front page of our website. I am really new however i can edit tpl's now. I am not sure in which files and where in them where to place the http call for an image command. I don;t have access to a trustlogo.gif as the webpage does not allow downloads. Help!
Matt
__________________
x-cart gold 4.0.14
fashion skin 4.0.14

Whatever remains is the solution.
Reply With Quote
  #16  
Old 09-07-2005, 08:32 PM
  Dongan's Avatar 
Dongan Dongan is offline
 

X-Wizard
  
Join Date: Jul 2005
Location: www.mercuryminds.com
Posts: 1,531
 

Default

Quote:
Originally Posted by mt
I am having trouble placing the trust logo on our front page of our website. I am really new however i can edit tpl's now. I am not sure in which files and where in them where to place the http call for an image command. I don;t have access to a trustlogo.gif as the webpage does not allow downloads. Help!
Matt

contact me. Will help you to fix at free.
Reply With Quote
  #17  
Old 09-11-2005, 05:21 AM
 
LouOffroad LouOffroad is offline
 

Member
  
Join Date: Nov 2004
Posts: 14
 

Default

Just a recap of other posts. Here's what I did to display our ComodoSSL cert in both unsecure site browsing as well as on the SSL side.

In /skin1/customer/home.tpl right before the </HEAD> tag I placed this:

Code:
{if $current_location eq $http_location} {literal}<script language="JavaScript" src="http://www.trustlogo.com/trustlogo/javascript/trustlogo.js" type="text/javascript"></script>{/literal} {else} {literal} <script language="JavaScript" src="https://secure.comodo.net/trustlogo/javascript/trustlogo.js" type="text/javascript"></script>{/literal}{/if}

Then I edited /skin1/customer/menu_cart.tpl and added this code after the last {/if} tag:

Code:
<CENTER>{literal}<script type="text/javascript">TrustLogo("images/comodoSSL.gif", "SC", "none");</script>{/literal} Point to Verify</CENTER>

Hopefully this will help someone in the future. This works perfectly on our 4.0.12 site.

Cheers
__________________
New X-Cart - Still in development
Reply With Quote
  #18  
Old 09-12-2005, 03:31 AM
 
mt mt is offline
 

Member
  
Join Date: Mar 2005
Location: Australia!!
Posts: 16
 

Default

It accepted the code but no logo. I placed the code but it requires an SSL logo to be in the images file. The script needs to collect it on the web. Can you suggest a script to connect to it?
__________________
x-cart gold 4.0.14
fashion skin 4.0.14

Whatever remains is the solution.
Reply With Quote
  #19  
Old 09-12-2005, 09:24 AM
 
LouOffroad LouOffroad is offline
 

Member
  
Join Date: Nov 2004
Posts: 14
 

Default

I have the logo on my server in the /<skin>/images directory. It's not being pulled from Comodo like it is with some of the other cert companies.
__________________
New X-Cart - Still in development
Reply With Quote
  #20  
Old 09-15-2005, 01:14 AM
 
jmoreno jmoreno is offline
 

Newbie
  
Join Date: Jul 2005
Location: Phoenix, AZ
Posts: 1
 

Default

Shan. Thanks for the Mod. Its working perfect.
__________________
X-Cart Gold Version 4.0.13 (on Unix)
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 03:48 PM.

   

 
X-Cart forums © 2001-2020