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. Need help in moving Home/Login tabs
    By MSGOK in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 9 Feb 2008, 06:40 AM
  2. How to remove empty line above categories tabs navigation?
    By PaulRiedel in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 12 Aug 2007, 08:04 PM
  3. moving ezpages navigation bar
    By zas in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 27 Jun 2007, 09:17 AM
  4. Navigation Bar not showing up even with cat tabs on
    By arconser in forum Basic Configuration
    Replies: 10
    Last Post: 21 May 2007, 02:14 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
  •