Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 2011
    Posts
    584
    Plugin Contributions
    0

    Default EZ Pages Footer on Home Page only

    I need a refresh course on how to display EZ Page Footer on Home Page only. I know how to overide it for different ez page via admin.

    I basically want to hide EZ Page footer on shopping cart, login,checkout...

    EZ Page Footer on Home page, categories, product pages is fine

    I try to fiddle with { if_this_home_page statement but no luck so far.

    Thank you for the assist

  2. #2
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: EZ Pages Footer on Home Page only

    Look into the Docs might reveal an answer.
    Click the search icon and type this:
    EZ-Pages Pages to disable footers

  3. #3
    Join Date
    Apr 2011
    Posts
    584
    Plugin Contributions
    0

    Default Re: EZ Pages Footer on Home Page only

    Quote Originally Posted by haredo View Post
    Look into the Docs might reveal an answer.
    Click the search icon and type this:
    EZ-Pages Pages to disable footers
    Thanks but that's if I want to disable the EZ page footer on EZ pages themselves. I am well aware of it and it is control in the admin.

    I was referring to pages like product_info, shopping_cart, checkout......

  4. #4
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,511
    Plugin Contributions
    126

    Default Re: EZ Pages Footer on Home Page only

    If you look at includes/templates/YOUR_TEMPLATE/common/tpl_footer.php

    it will have something like:

    <?php require($template->get_template_dir('tpl_ezpages_bar_footer.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_footer.php'); ?>

    You could wrap this in


    if ($current_page_base == 'index') {
    ...
    }

    to show it on listing pages, or even

    if ($this_is_home_page) {
    ...
    }

    to only show it on the home page.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  5. #5
    Join Date
    Apr 2011
    Posts
    584
    Plugin Contributions
    0

    Default Re: EZ Pages Footer on Home Page only

    Quote Originally Posted by swguy View Post
    If you look at includes/templates/YOUR_TEMPLATE/common/tpl_footer.php

    it will have something like:

    <?php require($template->get_template_dir('tpl_ezpages_bar_footer.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_footer.php'); ?>

    You could wrap this in


    if ($current_page_base == 'index') {
    ...
    }

    to show it on listing pages, or even

    if ($this_is_home_page) {
    ...
    }

    to only show it on the home page.
    Thank you very much. I am saving/bookmarking it this time

  6. #6
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,511
    Plugin Contributions
    126

    Default Re: EZ Pages Footer on Home Page only

    Also, for an example of how to turn things on and off on a per page basis with a long list of pages, look at

    includes/templates/template_default/common/tpl_main_page.php

    and look at how $flag_disable_left is set and used.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

 

 

Similar Threads

  1. v138a Show Banner Display (Footer) ONLY on home page
    By genat1974 in forum General Questions
    Replies: 3
    Last Post: 10 Mar 2012, 08:25 PM
  2. v138a Show Banner Display (Footer) ONLY on home page
    By genat1974 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 9 Mar 2012, 10:55 PM
  3. Different header/footer on home page only.
    By pjb923 in forum Templates, Stylesheets, Page Layout
    Replies: 31
    Last Post: 14 Jun 2011, 10:03 PM
  4. New footer link on home page only
    By cjkeane in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 26 Aug 2008, 06:18 PM
  5. EZ Page Footer links & Footer look different only on Home
    By DivaVocals in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 17 Aug 2008, 11:28 PM

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