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.
I had the same requirement as described in #476798: Including parent item in the menu - display the submenu's parent menu item. I took the patch from comment #17 (http://drupal.org/node/476798#comment-3720596) and adapted it for Drupal 7. I also improved the patch to work for menus of arbitrary levels and to not add the parent item as the only item in the menu.
Comment | File | Size | Author |
---|---|---|---|
menu_block_include_parent_d7.patch | 6.62 KB | Ronino | |
Comments
Comment #1
mlecha CreditAttribution: mlecha commented+1
I'm using this patch. Thanks Ronino!
Comment #2
BWPanda CreditAttribution: BWPanda commentedWorks for me, exactly what I needed!
My only concern would be that it should be hidden by default with the rest of the advanced options, but if the maintainer doesn't think it needs to be, then consider this RTBC.
Comment #3
Dave ReidWe don't keep multiple issues open for the same thing. Please post your patch in #476798: Including parent item in the menu and bump its version to 7.x-2.x.