Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / SSL Seal Only show on Secure Pages

SSL Seal Only show on Secure Pages

Locked

Views: 2,574

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
31 May 2009, 10:00 PM
#1
best_price_accessori avatar

best_price_accessori

Zen Follower

Join Date:
Dec 2008
Posts:
155
Plugin Contributions:
0

SSL Seal Only show on Secure Pages

Hi,

I am Would like to only show the ssl seal on secure pages. It will be going in the coding of tpl_main_page.php

Is there some code which says

if page = ssl (seal code) else do nothing

?

31 May 2009, 10:04 PM
#2
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: SSL Seal Only show on Secure Pages

Wouldn't it be a good idea to let your customers KNOW that your site is seccure, AND they can click on your seal to double-check, BEFORE they go to an SSL page? Otherwise, they might NOT go to those pages.......like the Create Account page, which is one of the 1st pages you WANT them to go?

Just an observation.

31 May 2009, 10:05 PM
#3
best_price_accessori avatar

best_price_accessori

Zen Follower

Join Date:
Dec 2008
Posts:
155
Plugin Contributions:
0

Re: SSL Seal Only show on Secure Pages

But then it would say secured by Geotrust when in fact the current Pages is NOT secured... :)

31 May 2009, 10:14 PM
#4
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: SSL Seal Only show on Secure Pages

Correct, but all sites use this method, JUST SO the customer can click on their seal to make sure the seal IS registered to that particular site (check some sites out for yourself). The customers are used to ONLY the pages where they supply information being the only sucure pages on the site.

If they DON'T see the seal on your Home page, chances are they will NEVER see it, as they will think you DON'T have SSL installed, and will not even bother to TRY to create an account.

31 May 2009, 10:16 PM
#5
best_price_accessori avatar

best_price_accessori

Zen Follower

Join Date:
Dec 2008
Posts:
155
Plugin Contributions:
0

Re: SSL Seal Only show on Secure Pages

point taken!

31 May 2009, 10:18 PM
#6
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: SSL Seal Only show on Secure Pages

Now, it you STILL want it to only show on Secure pages, there are ways to do this.

31 May 2009, 11:06 PM
#7
best_price_accessori avatar

best_price_accessori

Zen Follower

Join Date:
Dec 2008
Posts:
155
Plugin Contributions:
0

Re: SSL Seal Only show on Secure Pages

Ye. I think I will only show on secure pages..

31 May 2009, 11:34 PM
#8
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: SSL Seal Only show on Secure Pages

Are you gonna display this seal in a sidebox, or where, exactly?

Oops, should have looked a post 1, again.

Try adding something like this to your page:

if ($request_type == 'SSL') {
$flag_disable_YOURSEALNAME = false;
} else {
$flag_disable_YOURSEALNAME = true;
}

(Replace YOURSEALNAME with the filename of your seal, of course)
Not possitive that is correct, but worth a shot.

1 Jun 2009, 9:08 AM
#9
best_price_accessori avatar

best_price_accessori

Zen Follower

Join Date:
Dec 2008
Posts:
155
Plugin Contributions:
0

Re: SSL Seal Only show on Secure Pages

The seal is js.

<!-- Start Trustico Smart Seal --> <script language="JavaScript" type="text/javascript" src="https://smarticon.geotrust.com/si.js"></script> <!-- End Trustico Smart Seal -->

So that didn't work.

1 Jun 2009, 9:18 AM
#10
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: SSL Seal Only show on Secure Pages

What about:

<!-- Start Trustico Smart Seal -->
<script language="JavaScript" type="text/javascript" src="https://smarticon.geotrust.com/si.js"></script>
if ($request_type == 'SSL') {
$flag_disable = false;
} else {
$flag_disable = true;
}

<!-- End Trustico Smart Seal -->

something like that? Again.....not sure this will work. I'm not the greatest with the php, but nobody else seemed to be answering you, so I though it might be worth a shot.

1 Jun 2009, 9:38 AM
#11
best_price_accessori avatar

best_price_accessori

Zen Follower

Join Date:
Dec 2008
Posts:
155
Plugin Contributions:
0

Re: SSL Seal Only show on Secure Pages

I got it working with

<?php if ($request_type == 'SSL') { ?> <script language="JavaScript" type="text/javascript" src="https://smarticon.geotrust.com/si.js"></script> <?php } ?>

Thanks for your help.

I appreciate it,

1 Jun 2009, 9:46 AM
#12
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: SSL Seal Only show on Secure Pages

Oh, cool!! Glad to hear it. I knew we would eventually get it.

Now, how many Zenners does it take to hide an SSL Seal?:D

3 Nov 2009, 5:52 PM
#13
tai_pan avatar

tai_pan

New Zenner

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

Re: SSL Seal Only show on Secure Pages

Best Price Accessori:

I got it working with

<?php if ($request_type == 'SSL') { ?> <script language="JavaScript" type="text/javascript" src="https://smarticon.geotrust.com/si.js"></script> <?php } ?>

Thanks for your help.

I appreciate it,

Greetings -

I am a total newbie on this.. I have same issue as you, only want to display my seal on secured pages.

I see you figured it out.. but where do I put this code you have here?

Thanks for any help!

Tai