Results 1 to 8 of 8
  1. #1
    Join Date
    Dec 2008
    Location
    Canberra, Australia
    Posts
    85
    Plugin Contributions
    0

    Default Adding a top nav bar

    Hi Guys. My zencart sits off my existing website. So my customisation revolves around matching my cart to the rest of my site. I am now trying to introduce the top nav bar that exists on the rest of my site, to the top of all my zencart pages. You can see my site and my cart at the URLs below.

    www.sgtpepper.com.au

    www.sgtpepper.com.au/store

    The nav bar is a table, the source for that table is this....

    table class="top-nav" width="100%" cellspacing="0px">
    <tr>
    <td id="top-nav-home" width="14.3%"><a href="index.html">Home</a></td>
    <td id="top-nav-products" width="14.3%"><a href="products.html">Products</a></td>
    <td id="top-nav-orders" width="14.3%"><a href="orders.html">Orders</a></td>
    <td id="top-nav-new" width="14.3%"><a href="whats-new.html">What's New</a></td>
    <td id="top-nav-care" width="14.3%"><a href="care.html">Chilli Care</a></td>
    <td id="top-nav-recipes" width="14.3%"><a href="recipes.html">Recipes</a></td>
    <td id="top-nav-contact" width="14.3%"><a href="contact.html">Contact Us</a></td>
    </tr>
    </table>

    My question is, to implement this nav bar do I need to modify the various .php files or can I introduce the above code to a html file somwhere, perhaps even the stylesheet?

    Thanks in advance,

    Brendan
    Last edited by YZ250; 25 Feb 2009 at 03:58 AM. Reason: typo

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Adding a top nav bar to zencart

    AhhHaa!!! A Caspian Aficionado !!
    First there are a couple at least 3rd party modules for something like this and done in divs as tables are not actually designed for layout, although many have used them for this.
    http://www.zen-cart.com/index.php?ma...roducts_id=532
    http://www.zen-cart.com/index.php?ma...roducts_id=479

    Now to what you probably do not want to hear...
    I suggest that you "scrap" your html site and incorporate it's relavent content into Zen Cart....some of this can be via ez pages and I believe there may be a recipie add on?? If not ezpages and the TOC function could serve this purpose....

    End result - one install one method for editing pages - one constant look to all of your pages

  3. #3
    Join Date
    Dec 2008
    Location
    Canberra, Australia
    Posts
    85
    Plugin Contributions
    0

    Default Re: Adding a top nav bar to zencart

    Hmmm. I admit I did think about integrating, but that would mean shifting files around on my server and probably having to get my SSL certs re-issued etc. I managed to rename my cart folder from "zencart" to "store" without trouble before...what you are proposing shouldnt be too much tougher than that should it?

    That second add on you posted appears to be exactly what I want. At first I didnt realise zencart was a full on website, I thought it was just code and stuff you put into existing sites. If I had of known I would have begun with zencart in the first place.

    P.S Yeah, im a big fan of chillis. I only have 40 odd varieties on my site for testing, I have another 80 to add once the sites ready.

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Adding a top nav bar to zencart

    I managed to rename my cart folder from "zencart" to "store" without trouble before...what you are proposing shouldnt be too much tougher than that should it?
    Yes it only involves the same steps....
    I would first get all your content that you have in html migrated to ZenCart and after you have this done, move it to the root.

    This should not affect your SSL as it is, or should be issued to your domain name www.sgtpepper.com.au

  5. #5
    Join Date
    Dec 2008
    Location
    Canberra, Australia
    Posts
    85
    Plugin Contributions
    0

    Default Re: Adding a top nav bar to zencart

    Great, thanks heaps for that!

    Brendan

  6. #6
    Join Date
    Dec 2008
    Location
    Canberra, Australia
    Posts
    85
    Plugin Contributions
    0

    Default Re: Adding a top nav bar to zencart

    Hey Kobra, ive been thinking about it and I think youve sold me...im going to begin migrating my existing site into zencart, then once its all mickey mouse i'll move it to the root folder of my webspace.

    Ive read into turning off the columns alltogether on the ezpages etc, which is what I will want to do. My question is, on my photocomp page I have a very cool javascript slideshow thing happening. Am I able to incorporate javascript into zencart/my ezpages?

  7. #7
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

  8. #8
    Join Date
    Dec 2008
    Location
    Canberra, Australia
    Posts
    85
    Plugin Contributions
    0

    Default Re: Adding a top nav bar

    Thanks Kobra, those are excellent resources.

    I usually look up the FAQs and search the threads before posting here, but I must admit I need to spend more time looking through the wiki...seems to be some good stuff on it.

    Thanks again,

    Brendan

 

 

Similar Threads

  1. currency on top nav bar
    By shanesoine in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 29 Nov 2010, 03:36 PM
  2. Replies: 1
    Last Post: 10 Jun 2009, 10:16 AM
  3. Top Nav Bar
    By judah in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 19 Nov 2007, 07:47 PM
  4. Top bar Header Bar Nav Bar
    By mole69 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 13 Jul 2006, 04:35 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