Navigation menus
Another brand new and very powerful feature in version 2.5 is the improved navigation menu. You can now define a start level and a stop level and thus create any kind of navigation you want. In fact, you do not even need the "navigation main menu items" and "navigation submenu items" modules any more.
Example site structure
- Home
- Music
- Genres
- Rock
- Pop
- Artists
- Mrs. X
- Mrs. Y
- Genres
- Movies
- Genres
- Action
- Fantasy
- Actors
- Mr. X
- Mr. Y
- Genres
- Contact
Default navigation menu
By default, the navigation menu simply displays the whole site structure.
Stop level 1
If you set the stop level to 1, the navigation menu will only display the first level and all active pages. Here is what the navigation menu looks like when you are viewing page Music -> Genres -> Pop.
- Home
- Music
- Genres
- Pop
- Rock
- Genres
- Movies
- Contact
Stop level 1 with hard limit
If you set the stop level to 1, the navigation menu almost displays what the "navigation main menu items" module does - except for the active pages always being shown even beyond the stop level. Now, if you choose the new option "hard limit", the navigation menu never shows any page beyond the stop level. The ouput is exacly the same as with the "navigation main menu items" module. However, you are not limited to the first level anymore!
- Home
- Music
- Movies
- Contact
Stop level 2 with hard limit
A lot of people have requested a navigation menu that allows them to show the first two levels as horizontal main navigation menu and the other levels as optional vertical submenu. You can now accomplish that.
- Home
- Music
- Genres
- Artists
- Movies
- Genres
- Actors
- Contact
Start level 1
The "navigation submenu items" module basically renders the navigation menu from the second level, using the current main menu item as starting point. Now you can accomplish the same structure with the navigation menu by simply setting the start level to 1. Here is how the navigation menu looks like on page Music -> Genres -> Pop.
- Genres
- Pop
- Rock
- Artists
- Mrs. X
- Mrs. Y
Start level 2
If your main navigation menu includes the first two levels, you want your submenu to start with an offset of two levels which is equivalent to start level 2. Here is how the navigation menu looks like on the Pop page.
- Pop
- Rock