Index: taxonomy_title.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/taxonomy_title/taxonomy_title.module,v retrieving revision 1.5 diff -u -r1.5 taxonomy_title.module --- taxonomy_title.module 29 Apr 2009 05:59:00 -0000 1.5 +++ taxonomy_title.module 22 Nov 2009 19:49:38 -0000 @@ -64,7 +64,7 @@ return $title; } -/* +/* * Implementtion of hook_preprocess * overrides variables sent to template_preprocess */ @@ -76,6 +76,18 @@ drupal_set_title($title); // Assures the page heading is set. $variables['title'] = drupal_get_title(); + + // Construct page title + if (drupal_get_title()) { + $head_title = array(strip_tags(drupal_get_title()), variable_get('site_name', 'Drupal')); + } + else { + $head_title = array(variable_get('site_name', 'Drupal')); + if (variable_get('site_slogan', '')) { + $head_title[] = variable_get('site_slogan', ''); + } + } + $variables['head_title'] = implode(' | ', $head_title); } } }