/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/** * Make breadcrumbs include the current page as an inactive crumb * Also, remove the top level for image_galleries. */ function phptemplate_breadcrumb($breadcrumb) { // Create new breadcrumb array without the top level image gallery link foreach ($breadcrumb as $crumb) { $breadcrumb_new[] = $crumb; } } $breadcrumb_new[] = '<span class="active">'. drupal_get_title() .'</span>'; } }