Forums / Templates, Stylesheets, Page Layout / Unsecure images, on secure pages.

Unsecure images, on secure pages.

Locked

Views: 2,146

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
26 Jan 2010, 9:02 AM
#1
dwessell avatar

dwessell

Zen Follower

Join Date:
Mar 2005
Posts:
143
Plugin Contributions:
0

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

26 Jan 2010, 9:29 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

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

Zen-Venom Get Bitten

26 Jan 2010, 9:46 AM
#3
dwessell avatar

dwessell

Zen Follower

Join Date:
Mar 2005
Posts:
143
Plugin Contributions:
0

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

26 Jan 2010, 5:31 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Unsecure images, on secure pages.

Where is your site?

Zen-Venom Get Bitten

28 Jan 2010, 1:19 PM
#5
dwessell avatar

dwessell

Zen Follower

Join Date:
Mar 2005
Posts:
143
Plugin Contributions:
0

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

28 Jan 2010, 3:16 PM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

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

Zen-Venom Get Bitten