Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2007
    Posts
    141
    Plugin Contributions
    0

    Default Add Logo to Footer SSL Pages Only

    I would like to show the "comodo trust logo", "authorize.net logo" and the "paypal verified logo" in the footer on ssl pages. I have modified my includes/templates/Sweet ZouZou/common/tpl_footer.php file with the code below. The logos will show up centered on ALL pages, but the IF function is not working. Any suggestions?

    Thx Sweet


    if ($connection == 'SSL')
    {

    <div align="center">

    <script type="text/javascript" language="javascript">TrustLogo("https://www.sweetzouzou.com/includes/templates/Sweet%20ZouZou/images/trustlogo.gif", "SC", "none");</script>

    <script type="text/javascript" language="javascript">var ANS_customer_id="5cfbffe6-d2d0-4d16-a198-3c001937b1cc";</script>
    <script type="text/javascript" language="javascript" src="//VERIFY.AUTHORIZE.NET/anetseal/seal.js" ></script>
    <a href="http://www.authorize.net/" id="AuthorizeNetText" target="_blank"></a>

    <a href="https://www.paypal.com/us/verified/pal=admin%40sweetzouzou%2ecom" target="_blank"><img src="https://www.paypal.com/en_US/i/icon/verification_seal.gif" border="0" alt="Official PayPal Seal"></a>

    </div>
    }

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Add Logo to Footer SSL Pages Only

    You are showing php code and non php code but you are not showing where you have your php tags to delimit the code to function properly ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Nov 2007
    Posts
    141
    Plugin Contributions
    0

    Default Re: Add Logo to Footer SSL Pages Only

    That's cuz I'm a newb at this php programming. I am trying to use other files and feel my way around but am having trouble with this one.

    Thx Sweet

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Add Logo to Footer SSL Pages Only

    Breaking it out such as:
    PHP Code:
    <?php if ($request_type == 'SSL') { ?>

    <div align="center">

    <script type="text/javascript" language="javascript">TrustLogo("https://www.sweetzouzou.com/includes/templates/Sweet%20ZouZou/images/trustlogo.gif", "SC", "none");</script>

    <script type="text/javascript" language="javascript">var ANS_customer_id="5cfbffe6-d2d0-4d16-a198-3c001937b1cc";</script>
    <script type="text/javascript" language="javascript" src="//VERIFY.AUTHORIZE.NET/anetseal/seal.js" ></script>
    <a href="http://www.authorize.net/" id="AuthorizeNetText" target="_blank"></a>

    <a href="https://www.paypal.com/us/verified/pal=admin%40sweetzouzou%2ecom" target="_blank"><img src="https://www.paypal.com/en_US/i/icon/verification_seal.gif" border="0" alt="Official PayPal Seal"></a>

    </div>
    <?php ?>
    Now the IF is in php and the rest of the code is not ...

    You would need to ensure that code is what you are trying to run ... the php code IF just says only show it if the SSL is active ... $request_type == 'SSL' ... then do the IF statement ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Nov 2007
    Posts
    141
    Plugin Contributions
    0

    Default Re: Add Logo to Footer SSL Pages Only

    Thank you Linda! This worked perfect.

    You are always so helpful

    Sweet

 

 

Similar Threads

  1. Seperate footer for SSL pages
    By ahall13 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 26 Sep 2009, 07:19 PM
  2. disable footer for secure ssl pages
    By pjgscrap in forum General Questions
    Replies: 16
    Last Post: 12 Mar 2009, 04:06 AM
  3. SSL Seal Logo Only On https Pages
    By RtX in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 5 Dec 2007, 01:28 PM
  4. Accepted credit card + paypal logos in footer on 3 pages only
    By dharma in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 11 Jan 2007, 12:21 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR