[development] Move reset menu items to contrib?

Richard Archer drupal.org at juggernaut.com.au
Sat Jan 14 09:55:28 UTC 2006


At 7:56 PM -0800 13/1/06, Neil Drumm wrote:

>I've dealt with the menu system a bit in the past couple days.

Yes, thanks Neil. You're doing some great work. I can't wait to
see the finished version of that patch you accidentally posted
the other day :)


>I don't
>think I would ever want to use the reset menu items option on real site;
>it seems like more of a developer tool.
>
>Does anyone have a reasonably common use for this page that I'm not
>seeing? I can move it over to the devel module if not.


There is currently no way to set some flags on menus through
the admin interface. MENU_VISIBLE_IF_HAS_CHILDREN is the one that
immediately springs to mind, and MENU_VISIBLE_IN_BREADCRUMB.
See http://drupal.org/node/29621 for a story about these.

If a menu is created with one of these options and subsequently
edited, that flag may be cleared and the only way to get it back
is to reset the menu item.

I plan to write a contrib module that adds a bunch of extra
options to the menu system, and a way to explicitly edit these
flags will be the first feature.

I'm not sure this is a good enough reason to justify the existence
of the reset feature. I'm just pointing out that it does have a
use.

 ...Richard.


More information about the development mailing list