Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2008
    Posts
    18
    Plugin Contributions
    0

    Default Moving the different navigation tabs

    Hi. I would like to move the top navigation (home, login, checkout, my account etc.) to the same bar as the ezpages (Zen Cart, ezpages, privacy notice etc.).

    I have traced the code for both of these entries and understand that I can simply turn off the top navigation and add new entries for home, checkout, my account... into the ezpages table of the database which would solve my problem. This however leaves an issue with the functionality of the login/logout code. The top bar alternates these two options if a user is logged in or out and displays the my account option if logged in. It also uses an if...else statement to decide whether to display the checkout or cart based on the cart contents.

    How can I move this functionality to the ezpages bar? I assume that it means using the override system on the ezpages_bar_header.php file. Is it just a matter of copying the code from the tpl_header.php file into that one or does it need altering in some way? I assume (making a lot assumptions at the moment) that it would be a matter of removing the <ul><li> from the code and proceeding with the php section of the code after the FOR loop for the standard ezpages section has completed.

    Once this is complete, is it possible to move the search bar onto the same area?

    I think I'm almost there but attempts to do this have been painfully slow.
    Last edited by m4tty; 1 Jul 2008 at 11:03 AM. Reason: Accuracy of information

  2. #2
    Join Date
    Jun 2008
    Posts
    18
    Plugin Contributions
    0

    Default Re: Moving the different navigation tabs

    Admin please close thread as posted in wrong section

  3. #3
    Join Date
    Jun 2008
    Posts
    18
    Plugin Contributions
    0

    Default Re: Moving the different navigation tabs

    New thread moved and solved here:

    http://www.zen-cart.com/forum/showthread.php?t=101882

 

 

Similar Threads

  1. Side Navigation ankor text needs to be different than the URL
    By TheLangerGroup in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 14 Jun 2012, 05:31 PM
  2. moving the navigation bar to just below the header_bg image?
    By silver500 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 24 Nov 2011, 12:26 AM
  3. Navigation wrapper tabs help
    By steve1114 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 12 Jul 2011, 11:19 AM
  4. Moving navigation tabs to different areas
    By m4tty in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 23 Aug 2008, 08:21 PM

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