For my own convenience, I wanted to add a link to the operations columns of the menu admin page for creating a new child menu item; something like "add child". I have a lot of work to do setting up my menu trees, and this is a pleasant help.

I have implemented the change on my site, and it's working fine so far. (A PDF of my modified admin/build/menu page is attached.) I'll upload a patch against 5.0-rc1 in the next day or two, as soon as I'm comfortable that I haven't made a horrible mistake. In the meantime, I'm hoping for feedback on these questions:

  • Is this worth submitting, or am I the only one who would ever want this?
  • Is there a better name than "add child", something more intuitive that hasn't occurred to me?
  • Should locked and disabled menu items have an "add child" link?
    (I think yes, but I haven't got that far yet.)
  • Is this better implemented in a separate module?
    (It's only an 8-line change if it goes into menu.module.)
  • Assuming this is desirable in general, are there any exceptional menu items for which this would be a Bad Idea™?
CommentFileSizeAuthor
Menus _ Drupal.pdf25.83 KBewhipple

Comments

ewhipple’s picture

Status: Active » Closed (fixed)

Never mind. I'm going to try to implement this in a module.

marko b’s picture

Have you ever find a solution for this? I want to do the same :-)

stefan81’s picture

mee too :)