Thread: Main Navigation

Results 1 to 6 of 6
  1. #1
    Join Date
    Nov 2007
    Posts
    27
    Plugin Contributions
    0

    Default Main Navigation

    I'm pretty new to Zencart and have researched my question but haven't found a good answer yet.

    I have a client that wants to have the following navigation: Home, Shop, Stuff We love, Talk to Us. They don't want to have any other navigation except for a couple side boxes like "specials".

    Do I set up the main navigation with EZ pages or something else?

    thanx in advance for any help,
    Justin

  2. #2
    Join Date
    Sep 2007
    Location
    Somewhere in Southern Cal
    Posts
    330
    Plugin Contributions
    0

    Default Re: Main Navigation

    Yes you can use the ez-pages, dont' forget if you do use them you will have to change the permission to 777 and then change them back.
    Question for you... Where do you want the navigation at header links or the sidebar
    nomad

  3. #3
    Join Date
    Nov 2007
    Posts
    27
    Plugin Contributions
    0

    Default Re: Main Navigation

    thanx for the reply.

    The client wants the navigation to run horizontal in the header. There will only be two side boxes on the left, "Featured Items" Sales and Specials" and then a drop down to search brands below that. It's a pretty simple layout, but I'm a bit confused with all the different pieces to the custom template puzzle.

    For instance, do I HAVE to use EZ pages or can I just use straight up HTML with CSS for a rollover navigation since the navigation is static on every page. Also, do I just use HTML to make sure my header is in or do I put that info into the tpl_header file?

    thanx,
    Justin

  4. #4
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Main Navigation

    I suppose you could use EZ-Pages for navigation. It depends on what you want to link to.

    Take a look in includes/templates/YOUR_TEMPLATE/common/tpl_header.php

    Code:
    <div id="headerWrapper">
    <!--bof-navigation display-->
    <div id="navMainWrapper">
    <div id="navMain">
        <ul class="back">
        <li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li>
        <li><a href="http://somesite.com">your link here</a></li>
        <li><a href="http://anothersite.com">another link here</a></li>
    I used to have something like this on one of my sites, but I removed it recently since I moved the Zen Cart to the root.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  5. #5
    Join Date
    Nov 2007
    Posts
    27
    Plugin Contributions
    0

    Default Re: Main Navigation

    All of the links will be internal, which leans me toward using EZ pages. So that leaves me with the question of "Home." Home isn't one of the EZ pages, but I want it in the same row as the main navigation that will be generated from EZ pages. Can "Home" be a part of the EZ pages navigation structure?

    thanx!
    Justin

  6. #6
    Join Date
    Sep 2007
    Location
    Somewhere in Southern Cal
    Posts
    330
    Plugin Contributions
    0

    Default Re: Main Navigation

    you could use define pages as well, which will give you the links on the top.
    Also the so called home page is a ez-page. I think its calle define_home.php.
    Look into Afo thread as well

    nomad

 

 

Similar Threads

  1. Navigation main changes
    By fusionsp in forum Templates, Stylesheets, Page Layout
    Replies: 18
    Last Post: 17 Aug 2009, 03:45 PM
  2. Main Navigation Bar
    By kdiscrete in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 18 Jan 2009, 06:31 AM
  3. Main Navigation Sidebox
    By kuroi in forum Addon Sideboxes
    Replies: 12
    Last Post: 3 Nov 2008, 08:14 PM
  4. Removing Main navigation bar except on Main page
    By Redcinamn in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 17 Oct 2007, 08:39 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