Could you tell me how this module is different to the http://drupal.org/project/menu_block module or any of the other menu block modules?

Comments

bedlam’s picture

It's a good question. Chiefly, I don't think menu_block was available when I originally wrote this (it's been in use for 13 or 14 months prior to my submitting it here). At the moment, this module has two features that menu_block lacks which, in the kinds of projects I often work on, are indispensable:

  1. Unique id on every list item regardless of the number of blocks produced by the module (menu_block's list items contain useful classes, but these are not unique if it should happen that the same menu items appear in more than one block on the page--you might run into such a situation on a page containing both the entire menu tree in a flyout menu and a submenu), and
  2. The ability to change all class attribute values on list items and parent menus (so that i.e. menus can be more easily styled differently than Drupal's various default menus)

Clearly both of these issues can be resolved with CSS alone, but the added convenience for my work on Drupal themes was more than sufficient to make writing the module worthwhile :)

With respect to the various other menu blocks, I don't think that any of them offer the base functionality included here. Forthcoming features (mostly having to do with theming) in this module should further differentiate it from the existing offerings.

Mark Theunissen’s picture

Thanks for clearing that up. I am a big user of menu block, which is why I asked!

A large amount of time spent by Drupal users is comparing modules that seem to do the same thing. As you can see, the menu block module page explains how it differs from the other menu block modules. Do you think you could add the explanation you have just given above to this module's front page? That way future users will be able to quickly evaluate what the key differences are in comparison to the others.

Thanks
Mark

bedlam’s picture

Component: Code » Documentation
bedlam’s picture

Status: Active » Closed (fixed)

Done. Thanks for the feedback.