Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Jan 2008
    Posts
    34
    Plugin Contributions
    0

    Default Combine main nav and EZ pages

    Hi,

    can someone tell me if its possible to combine the navigation bar which normally displays at the very top:

    HOME LOGIN MY ACCCOUNT CHECKOUT

    with the EZ pages.

    Basically I want my main header image and just one navigation line underneath. I know how to move the main navigation under the image but I cant get to combine it with EZ pages which always displays in another line underneath.

    Thanks
    Liz

  2. #2
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: Combine main nav and EZ pages

    The second line of navigation is in a DIV with a class of navBreadCrumb, while the main nav is, you guessed it, in a DIV with class navMain (inside the navMainWrapper div).

    This means it will be very difficult to do what you want. Every page of products listing, products detail, Information and More Information sideboxes, and pretty much anything except your home page uses this second line of navigation.

    You'd have to do a lot of rewriting throughout the core code to merge the two lines, I think.

    HTH

    Rob

  3. #3
    Join Date
    Jan 2008
    Posts
    34
    Plugin Contributions
    0

    Default Re: Combine main nav and EZ pages

    Hmm - not the answer i wanted to hear but thanks for your honesty!

    I have seen this effect on may prebought templates But I dont want to buy these as from looking at the source codee they are an unrecognisable rewrite of Zencart.

    I was wondered if there was a clever way of putting the home, login etc into internal link pages in EZ pages. I just dont know what code i would put in though. Home page would be strightforward enough but the login etc would be an 'IF' statement judging on if you are already logged in......

    Has anyone tried this with any success?

    Thanks

  4. #4
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: Combine main nav and EZ pages

    And now, having made it sound like a big deal, I looked a little further (search term "breadcrumb Home" in the forum's search field) and saw lots of posts about this -- or at least relevant to what you want to do.

    Most people are simply concerned with changing aspects of the breadcrumbs, not removing them entirely or even merging them.

    But if you're a codaholic, you can start at ../includes/templates/-your-template-/common/tpl_header.php. That's the file that assembles the header stuff, not surprisingly. There is also a includes/classes/breadcrumb.php file that you'd likely have to look at.

    We are now well out of my league, so others will have to chime in. But as a personal note, I appreciate the breadcrumbs being separate from the site navigation. Sure it looks redundant at times, but when you're down in the middle of the site it helps to be able to back up to just where you want.

    HTH

    Rob

  5. #5
    Join Date
    Jan 2008
    Posts
    34
    Plugin Contributions
    0

    Default Re: Combine main nav and EZ pages

    Hi Rob,

    Its not actually the 'breadcrumb' bit i want to touch.

    Its the part normally at the top. HOME - LOGIN - CART etc that i want to merge with EZ pages.

    Thanks for looking though!
    Liz

  6. #6
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: Combine main nav and EZ pages

    Sorry, I was getting lost in my own verbiage there.

    The EZ-Pages code is in the file ../admin/ezpages.php

    That's a very large file of code, and somewhere in there is the part of the code that tells Zen where to put the EZ-Pages links. Finding, extracting and putting that code in the right file is a task for an expert. You may have to pay for that.

    Can I ask why the other locations of EZ-Pages links won't work for your site? They don't need to be in that line at top; they can be in the footer or in the Important Links sidebox. (That's where mine are.)

    There's a contribution in the Downloads called EZ-Pages TOC Sidebox which may also be of some use to you.

    Rob

  7. #7
    Join Date
    Nov 2006
    Posts
    76
    Plugin Contributions
    0

    Default Re: Combine main nav and EZ pages

    I think this is what you're looking for: https://www.zen-cart.com/tutorials/i...hp?article=234

    www.alisgaragesale.com/outboard_exchange




    Quote Originally Posted by LizzyB View Post
    Hmm - not the answer i wanted to hear but thanks for your honesty!

    I have seen this effect on may prebought templates But I dont want to buy these as from looking at the source codee they are an unrecognisable rewrite of Zencart.

    I was wondered if there was a clever way of putting the home, login etc into internal link pages in EZ pages. I just dont know what code i would put in though. Home page would be strightforward enough but the login etc would be an 'IF' statement judging on if you are already logged in......

    Has anyone tried this with any success?

    Thanks

 

 

Similar Threads

  1. Changing links on category tabs and main nav bars
    By iwalkonstars in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 25 Apr 2012, 09:22 AM
  2. change main nav bar links to ez pages
    By barendfaber in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 3 Nov 2010, 03:00 PM
  3. Move main nav items to categories nav
    By glennnz in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 13 May 2008, 08:14 AM
  4. Aligning EZ pages with main nav
    By stjude in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 12 Aug 2006, 09:39 PM
  5. Header and main nav looking strange in FF
    By stjude in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 18 Jul 2006, 04:58 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