Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2009
    Posts
    609
    Plugin Contributions
    0

    Default Hide elements on SSL pages?

    Hello, my lovely SSL certificate is being wasted because I have unsecure elements on the page.

    I need to disable certain things on ssl pages, can someone help?

    I want to disable all sideboxes on ssl pages, and I want to disable a facebook like button on ssl pages, can anyone help with the if statements?

  2. #2
    Join Date
    Mar 2009
    Posts
    609
    Plugin Contributions
    0

    Default Re: Hide elements on SSL pages?

    Is there a way to find out what is insecure in a page, is there a tool or addon for a browser that can help?

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Hide elements on SSL pages?

    You could use:
    $request_type

    if ($request_type == 'SSL') {

    if ($request_type == 'NONSSL') {

    As to finding non-secure images and such, FireFox is pretty helpful and the Web Developer Add on for it is a good one for this ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  4. #4

    Default Re: Hide elements on SSL pages?

    Quote Originally Posted by DigitalShadow View Post
    Is there a way to find out what is insecure in a page, is there a tool or addon for a browser that can help?
    You can do as Ajeh says but there are some alternatives and quick ways to check.

    Just open an ssl page, then right click all your images and select view image info or in I.E properties, if it says http then its insecure, if it says https its secure, then find the offending images and change the links to them with https ones.

    I.E. will usually be setup to give a warning which means you can then select to hide unsecure elements of the page, this makes it easier to locate the issues, open two browsers hide issues on one and show issues on the other.

    I think you could make the facebook button secure, mind you i think a link to your site to see whats happening would be needed, i too once had all these issues and fixed them.
    Last edited by Mal2809; 6 Jul 2011 at 05:03 PM.

 

 

Similar Threads

  1. Replies: 2
    Last Post: 6 Jul 2011, 01:22 PM
  2. Arranging elements on Category Listing Pages
    By pdxdoug in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 30 Mar 2010, 10:34 PM
  3. hide third party javascript on SSL pages
    By Fred!Head in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 10 Feb 2010, 11:52 PM
  4. hide elements from non-members??
    By slappadudle in forum General Questions
    Replies: 6
    Last Post: 3 Jul 2009, 05:42 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg