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.

CommentFileSizeAuthor
menu_block_include_parent_d7.patch6.62 KBRonino
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mlecha’s picture

+1

I'm using this patch. Thanks Ronino!

BWPanda’s picture

Version: 7.x-2.0 » 7.x-2.x-dev
Status: Active » Needs work

Works 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.

Dave Reid’s picture

Status: Needs work » Closed (duplicate)

We 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.