How do I make book-like collapsable site structure menu, based on taxonomy?

Menu, showed by taxonomy_dhtml module have right structure, but not collapsable (it must be uncomfortable on sites with large structure).

Menu, showed by taxonomy_context module looks right, but it doesn't show root items and dissappear on non-content pages (like administer or search page).

I want to see menu with structure like in book module, and I want to see it on all site pages.

Comments

PG-1’s picture

Don't tell me about taxonomy_menu - it is very dirty module, it overwrite terms URL syntax syntax and have bad drupal rss features compatibility.

PG-1’s picture

If we have next taxonomy structure

- Sections (vocabulary)
-- News
--- Site news
--- Music news
-- Articles
--- CD reviews
--- Event reports

and use taxonomy_context menu, on the "Site news" page we see only

- Site news
- Music news

part of structure. For "CD reviews" and "Articles" we see

- CD reviews
- Event reports

So we don't see root sections, and can see only sections under root section that is parent for current page.

As nice solution we could change structure to add fake root section:

- Sections (vocabulary)
-- Sections
--- News
---- Site news
---- Music news
--- Articles
---- CD reviews
---- Event reports

In this case on every page we have nice picture. But only on term or node pages! On the search or profile or admin pages this menu completely disappeares.

What do you can suggest to solve this problem?

Jaza’s picture

My advice, of course, is to switch to the category module and to use category_menu. :-) Category_menu does exactly what you want.

As there's no equivalent to category_menu for taxonomy, the best thing I can think of is to create your structure manually, using the admin interface of the menu module (go to 'admin/menu' on your site). This is a viable option if you don't have too many terms to structure - if you have a lot of terms, this will probably take too long to be worth doing.

Jeremy Epstein - GreenAsh

Jeremy Epstein - GreenAsh

colorado’s picture

Jeremy - I've checked out your categories thingy and love it. Can it be used in 4.6?

PG-1’s picture

"Category_menu does exactly what you want."

Yes, but currently it is at the idea stage of grow, isn't it? :)

As I feel, solution of our problem must be something like taxonomy_context module patch.