I really liked this module's approach to solving the problem of menus and breadcrumbs for pages without menu entries, but came up with a different solution building on the original module and the patch in http://drupal.org/node/524640. I did change the name of my solution as not to confuse my mod with the original. I have test on several site and have not found any issues.

My solution uses the menu system to make hidden menu entries (which means the menu system takes care of add new items, cleaning up deleted items and node deletion). It also borrows from the 'book' book_build_active_trail function to build and set the active menu and breadcrumbs.

To create the hidden menu entried, the user simply uses as a link title. I have created a permission to control who can use this special menu entry. It also work to change the menu name to something real and it will appear in the menu like a normal menu entry.

I hope this is a appropiate place to post this, if not please feel free to remove it.

CommentFileSizeAuthor
hidden_menu_item.zip2.36 KBseworthi
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

seworthi’s picture

Title: Different solution approach. » Different approach to solve problem
momper’s picture

subscribe

kozmicblues’s picture

The hidden_menu_item module works pretty well. Thanks.