Closed (fixed)
Project:
Drupal core
Version:
6.x-dev
Component:
menu system
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
18 Aug 2006 at 12:17 UTC
Updated:
20 Dec 2007 at 22:59 UTC
Jump to comment: Most recent file
I just discovered that it is impossible to alter the menu overview tree (admin/build/menu) because it doesn't use the Forms API. Is there a specific reason why menu.module does its own stuff rather than using common APIs?
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | menu-forms-api_1.patch | 2.62 KB | kkaefer |
| #2 | menu-forms-api_0.patch | 2.74 KB | kkaefer |
| #1 | menu-forms-api.patch | 2.59 KB | kkaefer |
Comments
Comment #1
kkaefer commentedI converted the menu overview tree to forms API. It can now be altered using hook_form_alter.
Comment #2
kkaefer commentedAdded documentation for theme_menu_overview_table().
Comment #3
kkaefer commentedTweaked the patch a little bit. This change is necessary to allow modules to hook into the tree.
Comment #4
moshe weitzman commentedi don't think we are ready yet for simple pages such as this to be rendered through fapi. there is no form here. when we have a good model for rendering entire pages though drupal_render(), then this makes sense.
feel free to reopen with reasons.
Comment #5
dman commentedWhile I don't need to re-open this yet, the reason I'd like to see this is to be able to (at some point in the future) add checkboxes to each row and have a 'delete selected' button. Doing this using the many clicks currently needed is a PITA.
Granted it does need a significant rewrite to get this sort of thing happening.
I believe that taking up the 'forms in tables' patches in some way would help this to become reality.
Comment #6
chx commentedComment #7
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.