Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello!
On the back-end my menu is looks like this:
- A
- A / a1
- A / a2
- B
- B / b1
- B / b2
So it has 2 parent items (A and B) - both having some child items (a1, a2, b1, b2).
Is it possible to make a Menu_block so that... if for example, A or a2 is selected (page is displayed). Then the A tree will be expanded while B is closed?
Is this what Menu_block does or not?
I can't seem to make it happen.
Using D7.12 and Menu_block 7.x-2.x-dev (2012-Feb-03)
Thanks,
Comments
Comment #1
mareks CreditAttribution: mareks commentedNever mind - it works noW!
Don't know what it did but it works now. Uninstalled old version, installed the very the latest dev module and flushed cache, and ran cron all the time :)
Anyway, I'd like to thank the authors and contributors for the great module.
Comment #2
mareks CreditAttribution: mareks commentedNow I am pretty sure that it's the Menu translation that confused me.
When I now enabled this module, my sub-menus are no longer displayed (expanded).
Comment #3
timatlee CreditAttribution: timatlee commentedMenu translation module is outright breaking my site.. I haven't looked into why, I just know that if it's enabled, the menu block is empty.
In my case, the menu is all from nodes, so I translate the nodes and add them to the menu. Somewhat fixes it.
Comment #4
JohnAlbinSorry for not responding sooner!