I've been searching for a module or sniped a while now, with no success (keywords are used too much I guess).
The idea is to restrict certain nodes or node types to create their menu item in a predefined menu or parent menu item.
For example I have menu_1, menu_2 and menu_3. Node type X is only allowed to create a menu item in menu_2 and/or menu_3, node type Y however can only create items in menu_1, and so forth ..
It would also be nice to filter the drop down with the menutree to only show the allowed menu's. This way it is possible to avoid very very long menu trees and searching for the right parent menu item for ever. It is also great for mods or admins who may only create items in predefined menu's.
Please share your idea's. Maybe my first module, however I'm not an experienced programmer. And who knows, maybe there are already possibilities like this.
Comments
I've asked about something similar
recently and it seems that no one is really onto this yet. You can see my post here: http://drupal.org/node/326632
I think your request might be simpler to pull off than mine, but who knows, they are related though.
I really have no clue what my next step should be in trying to get this functionality.
Did you find a solution for
Did you find a solution for this? I have the same dream!
I found this patch -
I found this patch - http://drupal.org/node/93669 - works for Drupal 6. It changes the "Restrict parent items to" in menu settings to allow multiple selections.
I've checked the post, it
I've checked the post, it looks like the solution for our dream but you say it doesn't work all the time. Furthermore, it's a core module patch right? I would like a more modular approach. If I have the time I will look into the code of the patch, mayb someone can use it to work it out to a nice module?
Alas you are correct... back
Alas you are correct... back when I linked to that article it as the solution of my dreams... but I ended up removing it due to issues.