Hi,
I'm investigating ways of making navigation more efficient and was impressed by the Projects section on the Drupal site. You can easily see three levels of navigation:
- Primary link: Downloads
-- 'Primary' Tab: Modules
--- 'Secondary Tab': 4.7beta
How does that work? Is it specific to the Projects module or will it work with Taxonomy?
The site I'm working on contains regular journals (going back 30 years) as well as pamphlets, all published as book nodes. I'd like to do something like this:
- Primary link: Publications
-- Primary tab: Pub 1 | Pub 2 | Pub 3 etc...
--- Secondary tab: 1970s | 1980s | 1990s | 2000s etc...
Currently using 4.6.2 with Box Grey (phptemplate) theme. Will upgrade to 4.7 when it becomes stable (4.7.2 or something).
Any advice welcome!
Yours,
Marcus.
Comments
Not specific
I had the same question one time. I solved it by making a small module implementing the menu hook:
http://drupaldocs.org/api/4.6/function/hook_menu
Just take an example module and check it out. It's quite easy!
Good luck.
Just yesterday I was
Just yesterday I was thinking that the implementation of the Downloads menu here in drupal.org could become more natural.
Assume that I go to "Modules" and select "4.7.x". If I then go to "Themes" it should be expected that I am also interested in "4.7.x" rather than the default "4.6.x". The menu has been modelled as a hierarchical one, but it seems more natural to think of it as two independent dimensions/parameters, any one of which the user might want to keep fixed.
place to look
Compare the "access rules" page in a standard installation (
www.example.com/?q=admin/access/rules) with the corresponding lines in the user module's user_menu() function.