Jquery Menu Module Integration

gmclelland - December 19, 2008 - 21:37
Project:Menu block
Version:6.x-2.2
Component:Miscellaneous
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs work
Description

Does Menu Block integrate with the jquery menu module like it does with DHTML Menu Module?

The reason I ask is because DHTML Menu Module Menus seem so unnatural to navigate. I'm referring to the part where you have to double click on the menu item.

Thank you for such a great module.

#1

sun - December 31, 2008 - 02:01
Category:support request» feature request
Status:active» won't fix

No, Menu Block actually heads to be included into Drupal core. If you want such functionality, a contrib module would have to integrate with Menu Block.

#2

JohnAlbin - December 31, 2008 - 03:44

More specifically jquery menu module creates its own blocks. It could be re-written to extend the blocks of menu_block.module, I suppose. But that would be a feature request for them. :-)

But DHTML Menu Module seems like it already does this.

#3

Aaron Hawkins - February 11, 2009 - 13:01
Category:feature request» support request
Status:won't fix» postponed (maintainer needs more info)

Hello all, I am the creator of the JQuery menu module. JQuery provides an API for processing a $tree array to create a jquery menu block.

I could create an extension if your module provides the $tree for the menus it creates. Is there a function that calls a menu block $tree that has already been processed according to levels.

I posted the documentation for the JQuery Menu API here. http://pixelclever.com/official-documentation-jquery-menu-api.

#4

davidcgutman - March 19, 2009 - 20:10

This would be fantastic! If I have the time/ability I'll see if I can help.

#5

okmi - May 4, 2009 - 18:06

we would very much like to see this functionality for the menu block module as well. i agree with gmclelland that dhtml menus - while very nice - are counter-intuitive as far as the drop-down is concerned.

#6

shifthappens - August 4, 2009 - 05:59

I would just like to chime in and re-iterate how powerful a Menu Blocks / Jquery Menu integration would be. I am using Menu Blocks to great effect on my sites, but I do have some clients who are interested in enhancing those context-specific menus with collapsible JQuery menus.

#7

yesterday - November 11, 2009 - 22:21

I needed this functionality as well, so I looked into integrating it myself. I thought it would be good to share with others that we interested. This is my first patch submission, and may not be well-formed. Let me know what I need to do differently next time. :)

AttachmentSize
jqmenu-integration.patch 1010 bytes

#8

temp - November 27, 2009 - 10:02

please update this patch for latest version. or include in module. i can test it.

#9

Aaron Hawkins - December 1, 2009 - 17:23
Category:support request» feature request
Status:postponed (maintainer needs more info)» needs work

Though I am not the maintainer of menu blocks, I can tell you that the patch above probably wouldn't ever fly since it makes a direct reference to the jquery menu module. Really the issue is broader than jquery menu, and any patch should be something that separates the menu level processing out to a separate function that returns a modified tree. That way any module can call the menu block version of the $tree array and make use of it.

If there is a function that I could call to modify a tree structure according to a particular menu block then I could call it from within my module, or from any other module for that matter.

I think that it could be argued that opening up the menu blocks module so that the work it does can be accessed before html structuring occurs would have merit in many more cases than the jquery menu module.

I honestly would like to work on this, but currently I have a baby on the way and a house to build before it arrives, so I don't have much free time. I will however commit to implementing the integration from within jquery menu if and when the option exist.

 
 

Drupal is a registered trademark of Dries Buytaert.