Share » Forums » Setup & design » Multiple Menus (by section?)

Multiple Menus (by section?)

Multiple Menus (by section?)

Tuesday 18 January 2005 12:40:27 pm - 2 replies

Author Message

Arran Price

Tuesday 18 January 2005 7:29:06 pm

Hi Jacob,
I think this probably depends on the structure of your site.
This sounds similar to something I have been doing myself lately so may be able to help.
Can you explain a little how you intend the menus to work, and how the site is layed out? ie is the different areas of the site you are talking about based on which node/folder they branch off from?

The two options that spring to mind without knowing anything further are, you can use sections and use override templates dependant on the section to display different menus - or potentially you need to determine the node your area branches off and use that in some logic to determine which menu to display (due to our section layout this was the best approach for us).

Hope thats of some help

cheers

Arran

Jacob C

Wednesday 19 January 2005 5:19:08 pm

What I have in mind is this (2 seperate menus + 1 'hidden' link):

1) a top menu with the following top-level choices (these are just generic product categories): Apples | Pears | Peaches | Grapes. These may or may not eventually have sub-categories (not really important atm).

2) a bottom menu with links to: Privacy Policy | Company Info | Contact Us (and so on)

3) Also, there is a specific section that can only be viewed by clients who are logged in. Each seperate client has their own inventory which I would like to display via a 'My Inventory' link that appears in the top menu once the client logs in. I have this figured out to a point by using sections. The one problem I run into here is that there is no way to create multiple 'My Inventory' links in the node tree at the same level (and still keep things organized - would be nice to have a seperate field for entering the link name!!), since of course they would all be called the same thing :/ In any case, I would be happy with 'Client A Inventory', 'Client B Inventory' etc.

So here's how the menus would be logically seperated:

Top Level
|
|- General Links
|- Apples
|- Pears
|- Peaches
|- Grapes
|
|- Client Inventory
|- Client A
|- Client B
|
|- Company Links
|- Privacy Policy
|- Company Info
|- Contact Us

I'm guessing ezpublish will force me to put these all on a single level and divide them up somehow w/ sections... Thanks for your help!

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu