Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Different Navigation bar on each Category Page


iamcanadian2

Recommended Posts

I am really new to this, so bear with me.

 

Is there anyway to include a different nav bar for each category page? For example, I have the 2 categories paper & albums. When the paper category is displayed, I want the paper nav bar to be seen. When the albums page is shown, I want the albums nav bar to be seen, etc.

 

Here is an example of what I want to accomplish on all pages (any better suggestions are also welcomed):

http://www.kindredcreations.com/catalog/de...lt.php?cPath=59

 

I enter the following code into the <head> section of header.php

 

<? include ("head_paper.inc") ?>

 

Then I add the following in the <body> where I want it to appear:

 

<? include ("body_paper.inc") ?>

 

All works fine, but when I add

 

<? include ("head_albums.inc") ?>

and

<? include ("body_albums.inc") ?>

 

it either doesn't work for the second one or they mesh together & components from the two are displayed.

 

Is there any way I can have both working properly?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...