Closed (fixed)
Project:
Hansel breadcrumbs
Version:
6.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
24 Apr 2010 at 12:05 UTC
Updated:
29 Jul 2012 at 21:48 UTC
Might be helpful for folks to distinguish this from custom_breadcrumbs module and even menu_trails (http://drupal.org/project/menutrails).
Comments
Comment #1
bertboerland commentedthaks for the feedback. not that some of the modules are in the same field have been compared http://drupal.org/node/751066 but we will write some text regarding this on the project page.
Comment #2
bertboerland commentedputting on my name as documentation
Comment #3
mauritsl commentedMenutrails is not mainly intended to be a breadcrumb module, but a module to activate a menutrail for node and taxonomy pages (to fix the not showing active state / submenu's problem). It has however the ability to synchronize the breadcrumbs with the active menu trail.
I mentioned 5 issues in the comparisation (see link in Bert's post). You can (in most cases) fix 1 and 2 with menutrails. But Hansel offers far more flexibility (but also complexity) with your breadcrumbs. Using switches it is possible to have different breadcrumbs depending on url arguments, domains or whatever you like by writing new switches for Hansel.
But there is one big difference between Hansel and all other breadcrumb modules. Other breadcrumb modules enable you to fix breadcrumbs at "some places" (like for the "nodes not in menu" issue). Hansel provides a way to configure your own breadcrumbs (for all pages) and sweep away the breadcrumbs from Drupal core (thus entirely replacing the old breadcrumbs instead of altering it).
Comment #4
Flying Drupalist commentedI feel like this is way more powerful than custom breadcrumbs, I only wonder how the performance compares.
Comment #5
mauritsl commentedI did some query logging to analyze the performance.
How many queries Hansel uses depends on the used breadcrumb actions and switches. Some notes on this:
For a Drupal installation without memcache, and with a common Hansel configuration, this module will use only a few queries. When using tokens (which is not necessary for most usecases) this will be around 10. When not using tokens, with memcache installed and path aliases cached, Hansel will work for most pages with 0 additional queries.
Summarized; performance on Hansel is not worth worrying about :)
Comment #8
swentel commentedSmall note: user_load is not statically cached, one of the horrors of that function :)
Comment #9
mauritsl commentedI think that the difference is clear enough now. Closing this issue.