Breadcrumbs for views, taxonomy pages, and basic pages on Drupal 7

In Drupal 6, there were a couple of handy modules to set your breadcrumbs throughout your website. My Drupal 6 techniques have a combination of modules, code on tpl.php files and views.

Drupal 6 Breadcrumbs:

  • Menu Trails
  • Custom Breadcrumbs
  • Taxonomy Breadcrumbs
  • Views > Header section (PHP code)
<?php
global $base_url;
$breadcrumb[] = l('Home', null);
$breadcrumb[] .= l('Blog', 'blog');
drupal_set_breadcrumb($breadcrumb);
?>

Breadcrumbs in Drupal 7 are similar but I found myself working around the lack of Taxonomy Breadcrumbs for version 7. I downloaded Menu Breadcrumbs to replace Taxonomy Breadcrumbs’ functionality. The configuration was straightforward. See image below:

Menu Breadcrumb Drupal 7 configuration

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>