Hi, firstly I would like to thank everyone who has contributed to this project - It has made my life so much easier, especially when it comes to dynamically rendering sections of a menu tree!!
I'm wondering if you would be interested in accepting patches for an API to actually create menus. I've done a bit of work recently for a project that has a large menu tree (around 300 items) which needs to be periodically regenerated. I've built up some useful recursive functions to create a hierarchical array of the menu tree, and custom insertion into the database for performance reasons (menu_link_save was absolutely killing the process, as it is designed for manually inserting each item). I could easily make these functions generic.
My thinking is initially it would be good to have these functions in an orphaned include, and other modules can handle including it.
If you are interested, I'll post up my code so you can have a look.
Comments
Comment #1
add1sun commentedAn API for more general menu handling is out of scope for Nice Menus, which is mostly about display. Your code could be valuable for folks, so you may want to look at creating a new project on d.o.