Monday, January 11, 2010

Code for Title and Breadcrumb Trail in Drupal

The author places the title and breadcrumb together on the page and makes both subject to the appearance of the title; the title is also wrapped with the<h2> tag.
if ($title) {
$output .= theme("breadcrumb", drupal_get_breadcrumb());
$output .= "<h2>$title</h2>";
}

No comments: