Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Dont show box when in SSL?


Guest

Recommended Posts

Posted

Im trying to use an image for another site on my oscommerce site, since the image changes on the remote server and is shown on mine I cant use it in SSL or I get non-secure images warnings when logged in to my site.

 

Does anyone have a snippet of code I can use to show this image in a box in the right colum only when not in ssl? I know where to put it, I just dont know what to put, any help is appreciated. I have searched but come up off base. I have tried using snippets of the ssl box code I have now but cant get it to work.

Posted

In your includes/column_right.php file, surround the include for the box with an if statement

 

if ($request_type == 'NONSSL') {

include(DIR_WS_BOXES . 'the_box.php');

}

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...