Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Mar 2005
    Posts
    142
    Plugin Contributions
    0

    Default SSL Problem - Modify tpl_footer with exceptions?

    Hi All,

    I've added some external images/links on the bottom of my website pages. I've also configured the SSL feature. Now my secure pages say there are some items are not secure. I realize this is because of the url for the external images. Is there a way to modify the tpl_footer.php with exceptions? In other words - have the images/links appear on all pages except the secure pages?

    Thanks!

  2. #2
    Join Date
    Jun 2003
    Location
    Washington State USA
    Posts
    3,536
    Plugin Contributions
    0

    Default Re: SSL Problem - Modify tpl_footer with exceptions?

    That is because you have hard coded the images. Until this is cleared up, you will get the unsecure images popup.

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

    Default Re: SSL Problem - Modify tpl_footer with exceptions?

    Hello and thank you!

    I did realize this was because the images were hard coded and that that was why the SSL was showing the error. Because they are images to "top sites" lists I cannot host them on my website. What I was wondering is how I can have these images on all pages EXCEPT the SSL pages.

    Thanks!

  4. #4
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: SSL Problem - Modify tpl_footer with exceptions?

    You could try placing the following code around your image(s)

    Code:
    <?php
    if ($_SERVER['SERVER_PORT']=='80') {
    ?>
    
    Your image(s) URL(s)
    
    <?php
    }
    ?>
    Or you could create a new banner in admin -> tools -> banner manager and turn them off where it says Banner on SSL

  5. #5
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: SSL Problem - Modify tpl_footer with exceptions?

    Steve:

    You should fix the link in your signature right now it takes you to the W3C home page. I think its because you have a double http://http// included.

  6. #6
    Join Date
    Jun 2003
    Location
    Washington State USA
    Posts
    3,536
    Plugin Contributions
    0

    Default Re: SSL Problem - Modify tpl_footer with exceptions?

    Quote Originally Posted by clydejones
    Steve:

    You should fix the link in your signature right now it takes you to the W3C home page. I think its because you have a double http://http// included.
    Fixed, thanks.

  7. #7
    Join Date
    Mar 2007
    Posts
    27
    Plugin Contributions
    0

    help question Re: SSL Problem - Modify tpl_footer with exceptions?

    Quote Originally Posted by mlm2005 View Post
    ... Because they are images to "top sites" lists I cannot host them on my website...
    I'm having a similar dilemma; I also need to place topsites banners in tpl_footer.php. The problem I'm having is that the images don't show up at all. I'm not receiving SSL errors, but maybe it's because they're not loading yet?

    The exact same image code works on non-SSL pages outside of Zen.

    I have tried both recommendations above, but with no luck. I wrapped the port exception code around the image code, nothing. Then I placed the image code inside the HTML banner textarea & turned off show on SSL pages, still no dice.

    I've verified that the Zen banner is working at least, because the topsites image is nested inside a styled table; which is showing up on non-SSL pages.

    Could this possibly be due to the images being called like this:
    HTML Code:
    <img src="http://www.topsite.com/button.php?id=1234" />
    ?

 

 

Similar Threads

  1. Replies: 1
    Last Post: 9 Jul 2012, 12:58 PM
  2. SSL log in, security exceptions for chrome and firefox.
    By Mammoth in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 1 Jun 2010, 11:10 PM
  3. Problem with my tpl_footer.php file
    By rstevenson in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 27 Aug 2008, 11:26 PM
  4. Very Odd problem in the tpl_footer.php file.
    By mboley370 in forum General Questions
    Replies: 9
    Last Post: 30 Jun 2007, 01:40 PM
  5. Problems with FedEx tpl_footer
    By k4satin in forum Addon Shipping Modules
    Replies: 9
    Last Post: 23 Jul 2006, 10:21 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