Zen Cart Logo
Forums / Other Business Topics / Need help to check is a page is secure or not

Need help to check is a page is secure or not

Locked

Views: 418

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
18 May 2009, 20:36
#1
erezw avatar

erezw

New Zenner

Join Date:
Dec 2007
Posts:
57
Plugin Contributions:
0

Need help to check is a page is secure or not

Hi,

I'd like to use the following if statement so the code would only show on NON SECURE pages to avoid "secure and non secure items..."

This code should go into tpl_main_page.php

<?php if (This is Not A Secure Page) { ?> <!-- ClickTale Top part --> <script type="text/javascript"> var WRInitTime=(new Date()).getTime(); </script> <!-- ClickTale end of Top part --> <?php } ?>

Can anyone tell me what I should put in "This is Not A Secure Page" so this will work for me?

Or even better if you ever implemnted clickTale in your zen cart (the free version" I would love to hear about it.

Thanks
Erez:unsure:

19 May 2009, 05:11
#2
bunyip avatar

bunyip

Totally Zenned

Join Date:
Sep 2004
Location:
Western Massachusetts
Posts:
2,361
Plugin Contributions:
1

Re: Need help to check is a page is secure or not

if($request_type == 'NONSSL')
20 May 2009, 03:33
#3
erezw avatar

erezw

New Zenner

Join Date:
Dec 2007
Posts:
57
Plugin Contributions:
0

Re: Need help to check is a page is secure or not

Thanks!!!

Made my day.