From 82565266b8de0bfe2dc3b5c9f1b23fac4fa3c788 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 16 Mar 2005 21:07:59 +0000 Subject: - Patch #18927 by Periastron: as one navigates down through the forum taxonomy, the title used to change to the current term, but now it always just displays the vocabulary name. I have attached a patch that restores the previous behaviour. It looks like the regression may have been introduced in some changes to theme_forum_display. --- modules/forum/forum.module | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'modules/forum') diff --git a/modules/forum/forum.module b/modules/forum/forum.module index 96d18a785..9414ed6d6 100644 --- a/modules/forum/forum.module +++ b/modules/forum/forum.module @@ -740,7 +740,7 @@ function theme_forum_display($forums, $topics, $parents, $tid, $sortby, $forum_p // forum list, topics list, topic browser and 'add new topic' link $vocabulary = taxonomy_get_vocabulary(variable_get('forum_nav_vocabulary', '')); - drupal_set_title($title = $vocabulary->name); + $title = $vocabulary->name; // Breadcrumb navigation: $breadcrumb = array(); @@ -759,6 +759,9 @@ function theme_forum_display($forums, $topics, $parents, $tid, $sortby, $forum_p } } } + + drupal_set_title($title); + $breadcrumb[] = array('path' => $_GET['q']); menu_set_location($breadcrumb); -- cgit v1.2.3