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.
It would be useful for the "menu tree of the menu selected by the page" pane to support a node argument which can be set to base the menu on the node instead of the page.
The included patch adds an optional context to the current pane configuration.
Another option could be to create a separate "menu tree of the menu selected by a node" pane.
Comment | File | Size | Author |
---|---|---|---|
#1 | menu-block-node-context-1203648-1.patch | 4.4 KB | kasperg |
menu-block-node-context.patch | 3.22 KB | kasperg | |
Comments
Comment #1
kasperg CreditAttribution: kasperg commentedUpdated patch to fixe menu generation and active trail setting.
Comment #2
JohnAlbin