[drupal-devel] MENU_ITEM_GROUPING shows in menu even when disabled: bug?
If you install 4.6 clean, enable the menu module and go to admin/menu, it seems weird that "create content" is visible in the Navigation menu but is listed as "disabled" in the table of nav items. The path has an initial status of MENU_ITEM_GROUPING, and it appears that the logic is as long as it has child items which are enabled, it is visible. It used to be that if the ITEM_GROUPING element were disabled the children would propagate up a level. I missed the discussion where this was changed, but would suggest that the current state, where a "disabled" item is visible in the menu, isn't completely correct yet. Thoughts? Robert
Now I wonder why the "administer" item (admin) has a status of MENU_NORMAL_ITEM and not MENU_ITEM_GROUPING? When I disable admin, all if its children pop up a level in the menu, like described before. Seems that either we don't need MENU_ITEM_GROUPING, or MENU_NORMAL_ITEM shouldn't have children, or at least that the behavior should be unified. -Robert
On Mon, May 09, 2005 at 01:25:33PM +0200, Robert Douglass wrote:
Now I wonder why the "administer" item (admin) has a status of MENU_NORMAL_ITEM and not MENU_ITEM_GROUPING? When I disable admin, all if its children pop up a level in the menu, like described before. Seems that either we don't need MENU_ITEM_GROUPING, or MENU_NORMAL_ITEM shouldn't have children, or at least that the behavior should be unified.
See http://drupal.org/node/11958. -Neil
On Mon, May 09, 2005 at 01:07:52PM +0200, Robert Douglass wrote:
If you install 4.6 clean, enable the menu module and go to admin/menu, it seems weird that "create content" is visible in the Navigation menu but is listed as "disabled" in the table of nav items. The path has an initial status of MENU_ITEM_GROUPING, and it appears that the logic is as long as it has child items which are enabled, it is visible. It used to be that if the ITEM_GROUPING element were disabled the children would propagate up a level. I missed the discussion where this was changed, but would suggest that the current state, where a "disabled" item is visible in the menu, isn't completely correct yet. Thoughts?
See http://drupal.org/node/20192. -Neil
participants (2)
-
neil@civicspacelabs.org -
Robert Douglass