![]() |
How to have http pages show Thawte SecondTier Seal?
Our Thawte seal only appears when a customer logs in or checks out, because the domain changes from www.oursite.com to secure.oursite.com, and the Thawte ssl is only certified for secure.oursite.com. I used this code:
Code:
{if $smarty.server.HTTPS eq "on"} I want to show a Thawte SecondTier Seal image on the http pages. (We could also have it hyperlinked to our "secure pages" but since they only happen when someone logs in, I don't think that is possible.) How can I modify the above code so it will load an image in the same spot, when it is NOT a https page? Thanks in advance for any help, Dan |
Re: How to have http pages show Thawte SecondTier Seal?
Quote:
Try this... Code:
{if $smarty.server.HTTPS eq "on" or $smarty.server.HTTP eq "on"} |
Thanks Dongan. However, that won't work, because the Thawte seal generator script only works for authorized domains, and if someone is not logged in, they won't be at secure.oursite.com.
I did get this to work: Code:
{if $smarty.server.HTTPS eq "on"} I used the "Register" page as a link because it is the only https page doesn't require the viewer to be logged in. Well, it works in IE and Firefox. In terms of the code, I was just guessing, so if anyone sees a better way to code this, that would be great. |
Sorry to resurrect an old thread, but just wanted to thank gravel for this little piece of code. I used it with a Turbo SSL certificate (from godaddy.com only 29.95 or 19.95 if you find a coupon ;)) and it works very well. Thanks!
|
All times are GMT -8. The time now is 06:08 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.