Breadcrumbs in Drupal
Tuesday, April 28th, 2009 | Author: edmund
To display the current page at the end of the breadcrumb trail, but not as a link:
- Install the Menu Breadcrumb add-on.
- In Administer / Site Configuration / Menu breadcrumb, check the option ‘Append page title to breadcrumb’
To NOT display ‘Home’ at the start of the breadcrumb trail:
- edit themes//config.php
- change the phptemplate_breadcrumb function to:
function phptemplate_breadcrumb($breadcrumb) {
unset($breadcrumb[0]);
array_unshift($breadcrumb, array_shift($breadcrumb) );
return '<div class="breadcrumb">'. implode(' » ', $breadcrumb) .'</div>';
}
Category: CMS
| | Leave a Comment

