I created a menu styles sandbox
https://drupal.org/sandbox/rerooting/2078717
It doesn't work with menu blocks yet. I was able to get around the annoying phptemplate issue that forces one to use individual theme functions for each menu to add ul classes by building a custom menu function!
It's very handy, and works quite well. It will eventually be used to support multiple/custom menu styles (even with radix I need custom menu styles) and menu block, but the 1.x version provides a simple, bootstrap ready ctools pane for configuring custom menus using the nav styles! I'll add a navbar one here shortly.
Comments
Comment #1
shadcn CreditAttribution: shadcn commentedThis is looking good. I'll test it tonight and come up with some feedback.
Comment #2
rerooting CreditAttribution: rerooting commentedUnfortunately, the way this is implemented *may* interfere with menu_block, unless i am able to manipulate the menu tree either before or after menu block calls it's tree building function. Also, I'm about to push another pane for doing navbars - it turns out a seperate function would probably be the easiest way to implement these.
I could also make the UI more intuitive. The way it's set up is kinda lazy. The reason being is that selecting different nav styles and options properly will require ajax forms. If folks want to throw some patches at that I'd much appreciate it.
I would appreciate it if someone could double check on access and other important menu things. I'm pretty sure the links are already built properly, however i want to ensure that everything is hunky dory with the somewhat unconventional approach that was taken here.
I might jump ahead with the 2.x branch so i can make it more pluggable and use a more object oriented approach. I'd prefer that, when the project is promoted, a stable 2.x release is available for folks to use in production and with makefiles/distributions, since a 1.x to 2.x upgrade path will be almost impossible, and the 2.x version will be able to have a broader base of support since we can recruit other css framework folks to help out on the effort.
I may just pull the stable 1.x version into a submodule for radix_ui for the time being as well, so that it can be brought into an existing, full release, stable project and so folks can use it immediately when full project status is needed (i.e. OA2 and Panopoly).
Comment #3
shadcn CreditAttribution: shadcn commentedHi
I found this which might be interesting http://drupalcode.org/project/openatrium.git/blob/d783f6c79b1699ff4b0129...
Comment #4
rerooting CreditAttribution: rerooting commentedI can't follow the link!
Comment #5
shadcn CreditAttribution: shadcn commentedMarking this issue as "works as designed" for now. Feel free to reopen.