Brian
-
1/9/2007 5:00:32 PM
Menu Question
I am currently creating the major controls that will serve as the basic building blocks of our site.
One of those controls is a typical left hand side menu. I need some specific functionality from this menu though that I cannot seem to get.
Specifically, I want the menu to do the following:
1. Show the Kentico page tree structure (this is the easy part) 2. Show all the menu items expanded 3. The start node of the menu should be the page that is currently displayed 4. Show only 2 levels deep from the page currently displayed
Items 3 and 4 are the ones that seem difficult to me.
To further illustrate the point, if I have a site structure that looks like the following in Kentico:
Page 1 -----Page 1A ----------Page 1A1 ---------------Page 1A1a ---------------Page 1A1b ----------Page 1A2 ---------------Page 1A2a Page 2
Then the menu should look the following when Page 1 is displayed:
Page 1A -----Page 1A1 -----Page 1A2
The menu should look the following when Page 1A is displayed:
Page 1A1 -----Page 1A1a -----Page 1A1b Page 1A2 -----Page 1A2a
Hopefully that makes sense. Any help would be greatly appreciated.
|