Results 1 to 6 of 6
  1. #1
    Join Date
    Jul 2011
    Posts
    177
    Plugin Contributions
    0

    Default EZ Page Links In Header Navigation

    Hi, i'm sure this is a simple fix but i've spent a few hours trying to work it out and now I seek help from the gods

    Basically, when I add an EZ Page (i.e. About) the link doesn't add to my header navigation, it actually adds its own row underneath.
    How do I get the 'About' link up above my search bar with the others?

    See my website: www.pazzle.co.uk

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

    Default Re: EZ Page Links In Header Navigation

    That's where the EZ pages header is supposed to be, in a stock Zencart installation. You can move things around in tpl_header.php by moving the relevant blocks of code relative to each other, but you aren't going to get EZ page links in the navMain area without some extra fiddling.

  3. #3
    Join Date
    Jul 2011
    Posts
    177
    Plugin Contributions
    0

    Default Re: EZ Page Links In Header Navigation

    Quote Originally Posted by stevesh View Post
    That's where the EZ pages header is supposed to be, in a stock Zencart installation. You can move things around in tpl_header.php by moving the relevant blocks of code relative to each other, but you aren't going to get EZ page links in the navMain area without some extra fiddling.
    Thank you. I have ALMOST managed to achieve this, for some reason I can't get the EZ links on the same row as the other links. See www.pazzle.co.uk

    Is it a CSS issue or a HTML issue?
    If anyone can lend a hand on this, would be much appreciated :)

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

    Default Re: EZ Page Links In Header Navigation

    Try adding the red part:

    #navEZPagesTop {
    display: inline;
    }

  5. #5
    Join Date
    Jul 2011
    Posts
    177
    Plugin Contributions
    0

    Default Re: EZ Page Links In Header Navigation

    Quote Originally Posted by stevesh View Post
    Try adding the red part:

    #navEZPagesTop {
    display: inline;
    }
    Absolute Legend! Thanks Stevesh

  6. #6
    Join Date
    Jul 2011
    Posts
    177
    Plugin Contributions
    0

    Default Re: EZ Page Links In Header Navigation

    In case anybody was wondering how I moved the links, in tpl_header.php...

    Move this section of code

    <!--bof-header ezpage links-->
    <?php if (EZPAGES_STATUS_HEADER == '1' or (EZPAGES_STATUS_HEADER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) { ?>
    <?php require($template->get_template_dir('tpl_ezpages_bar_header.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_header.php'); ?>
    <?php } ?>
    <!--eof-header ezpage links-->
    To the following position...

    <div id="headerWrapper">
    <div id="navMainWrapper">
    <div id="navMain">
    <ul class="back"><li>

    PLACE THAT CODE RIGHT HERE
    Last edited by Inxie; 14 Sep 2012 at 05:28 AM.

 

 

Similar Threads

  1. Navigation Bar/Header Links not working
    By SimpleeStated in forum Basic Configuration
    Replies: 1
    Last Post: 27 Aug 2010, 08:50 PM
  2. Header Navigation Opens to Page with Links in Left Bar
    By jill8026 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 29 Jan 2009, 11:12 PM
  3. Ezpages links in header navigation AUTOMATICALLY
    By Rowan_H in forum General Questions
    Replies: 3
    Last Post: 22 Sep 2006, 05:53 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