I am using Drupal 6.17 and want to get rid of "HOME" in the breadcrumb output...
eg:
$breadcrumb= PRODUCTS // SOFTWARE // FEATURES
instead of
HOME // PRODUCTS // SOFTWARE // FEATURES
I am using Drupal 6.17 and want to get rid of "HOME" in the breadcrumb output...
eg:
$breadcrumb= PRODUCTS // SOFTWARE // FEATURES
instead of
HOME // PRODUCTS // SOFTWARE // FEATURES
Override the breadcrumb in your theme's template.php file:
/**
* Return a themed breadcrumb trail.
*
* @param $breadcrumb
* An array containing the breadcrumb links.
* @return a string containing the breadcrumb output.
*/
function phptemplate_breadcrumb($breadcrumb) {
if (!empty($breadcrumb)) {
array_shift($breadcrumb); // Removes the Home item
return '<div class="breadcrumb">'. implode(' › ', $breadcrumb) .'</div>';
}
}