Wednesday, January 5, 2011

Drupal breadcrumb categories

There are two hierarchies in Drupal that you can bind your breadcrumbs to . You can bind your breadcrumbs to either the sites menu, or the sites taxonomy but you can't do either right out of the box. Unfortunately when you create a page you aren't given the option of using a custom breadcrumb trail. You can't just type it in a field and hit "go".

There are modules that take advantage of both the menu and taxonomy structures. Here is a breadcrumb module comparison that shows some of the features of the main players.

As a last resort, you can always create a series of templates based on the particular node (by creating node-x.tpl.php files) or create a custom block just for that page that you can position using CSS but why not let a module do the work for you?

No comments:

Post a Comment