Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2014
    Location
    Palm Harbor, Florida
    Posts
    2
    Plugin Contributions
    0

    Default EZ Pages dont show in header menu

    After searching here I cannot find a solution that suits me.

    My EZ pages are not showing in my header menu.

    The sort values are not zero.
    The light is green
    They do show on the footer
    The do show if I switch to the classic template. (clue?)

    This is a new install, my first. Used zc_install

    http://davidarogers.net/mcexpress/shop/

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: EZ Pages dont show in header menu

    The 'clue' is it. Your template designer has disabled the EZ page links in the header, probably by removing that code in tpl_header.php.

  3. #3
    Join Date
    Jan 2014
    Location
    Palm Harbor, Florida
    Posts
    2
    Plugin Contributions
    0

    Default Re: EZ Pages dont show in header menu

    This is true. He did offer a solution to another user of adding this code "where you want the ez-pages link to show on header"

    <?php if (EZPAGES_STATUS_HEADER == '1' or (EZPAGES_STATUS_HEADER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) { ?> <ul class="unstyled nomargin ezpagesHead pull-right"> <?php require($template->get_template_dir('tpl_ezpages_bar_header.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_header.php'); ? </ul> <div class="clearfix" /> <?php } ?>

    I have tried it in two places but obviously the wrong section of the includes/templates/templateName/common/tpl_header.php file.
    the result was, nothing on the page at all. No errors.

    He removed it for "design" reasons. I dont understand that logic. Its pages I want to appear, not Categories.

    Can anyone identify specifically where I should put the above code?

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: EZ Pages dont show in header menu

    Not without knowing where on the header you want the links to appear. In the stock version, they show just above the categories-tabs menu.

    You need to be sure you don't mix up code tags. The snippet you show includes the <?php and ?> tags, which means you need to put it outside any existing PHP tags.

  5. #5
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: EZ Pages dont show in header menu

    I think disabling the ez-page headerbar for this template was an arrogant move. If a user wants that menu, it could appear in its usual location with the same styling treatment as the categories-tabs, altering the design very little, and if there are no ez-page links for the header it would never appear at all. The template installation could have included SQL settings to turn the headerbar off in admin, leaving the user able to choose later. Just my 2 cents...

 

 

Similar Threads

  1. v151 How to disable the Categories menu from above the header and show them in the header
    By kk2956 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 13 Jun 2014, 11:14 PM
  2. v150 Header text dont show in featured/new/special page
    By deltaowen in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 23 Dec 2012, 10:39 PM
  3. ezPage doesn't show up in header menu
    By mdivk in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 26 Apr 2012, 02:42 AM
  4. Easy pages horizontal menu & sidebox pages, dont link the same page
    By stefanl in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 19 May 2011, 03:09 PM
  5. adding pages to header menu
    By alexdog1805 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 6 Mar 2011, 06:06 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