Some menu optimization suggestions
| Project: | Submenu Tree |
| Version: | 5.x-0.4 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | bengtan |
| Status: | won't fix |
Jump to:
Hello Bengtan,
I tried finding some sort of suggestions for this set questions I have in the forum today when it dawned on me that this would be a superb set of components for submenutree. I don't know if you have interest in this or not, but I thought I'd at least suggest them to you so I'm reprinting them here.
"I have 3 quick questions regarding the creation of menus for nodes in Drupal 5. All of these questions deal with the "menu settings" box on the node creation page.
1. Is it possible to have the last selected "parent item" used for the creation of one node remembered and queued to for the creation of a following node?
I have a long "parent item" list and it is difficult to start from the very top of the list for every node I create.
2. Does anyone know of a way to have the description field of "menu settings" auto-completed with the node's title?
3. Slightly more complicated, but I would be interested in having a link from an already created node which already has a menu listing. This would open a content creation page, and on that page the "parent item" in the menu setting would be queued to the menu item for the original node I just clicked the link on. Does anyone know anything about this type of functionality."
Let me know what you think.

#1
Hi,
I believe all of these can be done through a custom module, but I also think they are outside the scope of submenutree.module since they relate to the nodes and menus functionality in drupal core.
1. and 2. can probably be done by altering the node creation/edit form and injecting values as relevant.
3. is a little bit more complicated but should be possible as well. It involves replacing the normal node/add/* handler with a custom handler which also accepts a suggested "parent item".
Organic groups actually does the exact same thing. When you create a node within an organic group, it fills in the group subscription for you automatically.
#2
Very interesting. By the way, I hadn't actually received your e-mail the other day because it was blocked, but just received your message today that you sent from your other e-mail address. I will follow this up with you there if that's all right.
#3