Great little module - just what I was looking for, aside from the wee problem I'm facing now. I'm hoping to use Menu Trim for tertiary navigation: I've got the site set so that both primary and secondary links are using Primary Links, and the Primary Links hierarchy is something like the following:
Primary Links
--A
----AA
------AAA
------AAB
----AB
--B
----BA
----BB
... and so on.
Other settings:
- In admin/settings/menu_trim, I've set the Primary Links menu to trim, and hide.
- The new (Menu trim) block for the Primary Links menu is visible in the sidebar.
- My theme displays primary and secondary links in the header.
- extending your example in a previous support issue, I've set every first and second level menu item to trim parents. That is, in the diagram above, the only items without the trim flag are AAA and AAB.
With these settings, I would expect the side block to appear only when AA is active in the header menu strip.
However, the block appears when I choose A (or B) - displaying A (or B) as the title of the block, and the secondary links as links. When I click on AA in the header menu, the sideblock changes to display what I want it to: AA as the title, and only AAA and AAB as links.
Whew. Sorry for the long explanation. Any hints to resolve it? Right now I'm working around it by configuring the (menu trim) block not to display on the A and B 'home' pages - but that's an extra step I'd rather not perform as I start building up the site content and navigation structure.
Cheers!
Comments
Comment #1
david lesieur commentedSince AA is set to trim its parents, I'm surprised that the block appears when A is active. This might be a bug... I'll try to look into this in a few days. Thanks for the detailed report!
Comment #2
dynv commentedchiebert I made the following sub-project for similar reasons so please have a look and tell me if it would address all/most of those concerns : #241155: Root Title, Min. Level, Limit and Dept
Comment #3
dynv commentedComment #4
dynv commentedNot involved with the project anymore.
Comment #5
simon georges commentedThis version of Menu Trim is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.