Posted by grendzy on August 26, 2009 at 9:23pm
6 followers
Jump to:
| Project: | Menu Breadcrumb |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
Though menutrails and menu_breadcrumb are similar, both of these modules have some unique strengths. I've found myself trying to combine the benefits of each; unfortunately I haven't found a way to use both modules together. (The menutrails breadcrumbs take precedence if enabled.)
Advantages of menutrails:
Sets crumbs for nodes that aren't in the menu, by content type and taxonomy.
Advantages of menu_breadcrumb:
Several useful display options(append title to crumbs, append as link, hide when only "home" is in the trail).
Seems to have a more efficient method of actually setting the active trail; unlike menutrails it doesn't require a phptemplate_...() override function.
Thanks!
Comments
#1
#460476: Enabling "set breadcrumbs" breaks breadcrumb on pages outside of Menu Trails Menu would help. I'm using patched versions of both modules on a production site with decent results.
#2
I would suggest we keep two modules, but make the line between them clearer and in a better place:
- menu_breadcrumb only handles things taking their breadcrumb from menus. Rip out title appending, home link, etc.
- leave those features for menutrails to handle
For that matter, there are several modules that let you spoof breadcrumb/menu location. I would say it's best for menu_breadcrumb to keep out of that.
#3
joachim: hmm, also a good idea. I also just discovered another difference:
menu_breadcrumb does it's work on hook_init(), so it works with any menu item (views, panels, etc). menutrails uses hook_nodeapi, so it only works on node pages.
One thing that I have found tricky... resolving the title appending is tough because if it's a "spoofed" trail, I end up omitting the last item.
#4
See the corresponding issue on menutrails, #560482: Consider merging with menu_breadcrumb, which I've just updated with a proposed path forward.
#5
I'd love to hear feedback from menu_breadcrumb maintainers
#6
I prefere menu_breadcrumb over menu trails, as there's no need for big configuration. It just works.