I think the current version of Accordion Menu provides too little flexibility to use it to its full potential. To be more specific: compatibility with the Menu block module is essential imo.
At this moment you only have the choice to apply the Accordion Menu on menus that are configured through the Menu panel. I guess there are many webdesigners out there who only want to apply the Accordion Menu on a submenu of the Primary Links (not on Primary Links itself for instance).
The Menu block module provides the easiest and most flexible solution to separate the main menu from the submenu in the design, and is for that reason very popular. It would be a bless to be able to apply the Accordion Menu on a menu block.
| Comment | File | Size | Author |
|---|---|---|---|
| accordion-menu-menu-block.gif | 4.67 KB | knalstaaf |
Comments
Comment #1
knalstaaf commentedDHTML menu comes close, but I'm missing Menu block support there as well.
Comment #2
solotandem commentedSounds like a good idea. Can you offer a patch or further details on the feature?
Comment #3
knalstaaf commentedI'd really love to if I could, but my technical background is rather poor :)
Comment #4
solotandem commentedI anticipate piggy-backing on the flexibility with Menu block.
In the meantime, you could use this module by creating a special menu that contains what you need for accordion output instead of polluting the standard Drupal menus. This essentially does what Menu block does, but I find it clean to have the separate menu. I suspect there are pros and cons to each approach.
Comment #5
benmirkhah commentedSubscribe, very useful feature
Comment #6
benmirkhah commentedI gave up on this module in favor of DHTML menu for two reason
1) I had a large taxonomy tree turned to menu using http://drupal.org/project/taxonomy_menu
which was split into two separate menus using "menu block" to be used in two separate pages,
there was no easy way to assign Accordion Menu to my two menu block so I had to hack it
in order to get it working but just when I thought I was done...
2) I could not get the menu active trail using http://drupal.org/project/taxonomy_menu_trails
DHTML menu worked with both menu_blocks and taxonomy_menu_trails out of the box.
Comment #7
solotandem commentedI have looked into supporting the sub-menus configurable with the Menu Block module. See #1452660: Support a sub-menu API by separating code for tree building and tree rendering for a description of blockers. Anyone who would like to see such support added to this module, please weigh in on the referenced issue.
Comment #8
solotandem commentedAdded integration to menu_block module (including a patch file) in this commit.
The patch file needs to be applied to the 7.x-2.3 release of menu_block module as the maintainer of menu_block module has not implemented #1452660: Support a sub-menu API by separating code for tree building and tree rendering.
If people are interested in this functionality in the 6.x branch, then this needs to be ported.
Comment #9
solotandem commentedAdded to 6.x-1.x in this commit.
Comment #10
knalstaaf commentedExcellent, thank you so much (and best wishes, solotandem)!
Comment #12
Mile3 commentedGood things last for a while -- please see an update here:
https://www.drupal.org/node/2318861#comment-12256301
Comment #13
Mile3 commentedduplicate