Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2005
    Posts
    144
    Plugin Contributions
    0

    Default Unsecure images, on secure pages.

    Hi all,

    In my /public_html/includes/templates/theme082/common/tpl_box_default_right.php file I have the code for a Facebook widget. However, the images are unsecure, so when users move into my checkout pages they get error msgs.

    Is there a way that I can only have that image show up on the non-ssl pages? A bit of php that recognized that it's a ssl page perhaps?

    Thanks
    David

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Unsecure images, on secure pages.

    Usually best to only link to secure items...
    But see this for an option
    http://www.zen-cart.com/forum/showthread.php?t=146078
    Be sure to include all pages that are under https

  3. #3
    Join Date
    Mar 2005
    Posts
    144
    Plugin Contributions
    0

    Default Re: Unsecure images, on secure pages.

    Is this the right location for the folders?

    /public_html/includes/templates/theme082

    (theme 082 is the current theme).

    I've put the 4 checkout folders there, with a copy of the file without the non-ssl images.. BUt they are still showing up on checkout, thus making me think that I have the wrong folder.

    Thanks
    david

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Unsecure images, on secure pages.

    Where is your site?

  5. #5
    Join Date
    Mar 2005
    Posts
    144
    Plugin Contributions
    0

    Default Re: Unsecure images, on secure pages.

    http://straightrazordesigns.com

    I've removed the facebook logo from the right column though, so that people don't get the unsecured pop up warning.

    dw

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Unsecure images, on secure pages.

    I've removed the facebook logo from the right column though, so that people don't get the unsecured pop up warning.
    I've put the 4 checkout folders there, with a copy of the file without the non-ssl images..
    If only this one...Copy the image and source it "src=" from your server
    The link "href" remains the same

 

 

Similar Threads

  1. How do I hide unsecure links when secure pages are shown?
    By dmm2020 in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 23 Feb 2009, 07:31 PM
  2. Secure and Unsecure issues
    By renewal777 in forum General Questions
    Replies: 17
    Last Post: 25 Aug 2008, 04:13 AM
  3. Secure and unsecure items problem
    By authenticnz in forum General Questions
    Replies: 10
    Last Post: 19 Apr 2008, 10:38 PM

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