Guest Posted May 17, 2011 Share Posted May 17, 2011 Hello, cut a long story short, i had someone doing some work on my site last year and he stopped the left hand header image from being displayed when the site was on https pages ( i have 3 images displayed in my header left middle and right)for the life of me i can not find how he disabled the image from showing when the pages are in https....how would this of been done as i want to try and sort this out, it was disabled as it was displaying unsecure contents when the pages were in https. Link to comment Share on other sites More sharing options...
Guest Posted May 17, 2011 Share Posted May 17, 2011 Steve, Perhaps if you post the header.php file contents, we can see the code and help you with the problem. More than likely, all you need to do is change the http to https, but that is just a guess without seeing the code. Chris Link to comment Share on other sites More sharing options...
Guest Posted May 17, 2011 Share Posted May 17, 2011 Steve, Perhaps if you post the header.php file contents, we can see the code and help you with the problem. More than likely, all you need to do is change the http to https, but that is just a guess without seeing the code. Chris Hi Chris, thanks for the info, you put me on the right file, i found a backup of the inc/header.php he made, compared the code and seen how he blocked it <?php if ($banner = tep_banner_exists('dynamic', 'headerleft')) { ?> <td valign="middle" align="left" class="header"><?php if ($_SERVER['HTTPS'] != "on") echo tep_display_banner('static', $banner); ?></td> <td valign="middle"><?php echo tep_image(DIR_WS_IMAGES . 'pixel_trans.gif','' ,'10','1'); ?></td> <?php }?> regards steve Link to comment Share on other sites More sharing options...
Guest Posted May 17, 2011 Share Posted May 17, 2011 This is the piece that is not allowing your banner to show when in https. if ($_SERVER['HTTPS'] != "on") If you no longer need that remove that piece of code. Link to comment Share on other sites More sharing options...
Guest Posted May 18, 2011 Share Posted May 18, 2011 This is the piece that is not allowing your banner to show when in https. if ($_SERVER['HTTPS'] != "on") If you no longer need that remove that piece of code. hi thanks for the reply, thats the piece of code i removed regards Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.