Closed (won't fix)
Project:
Menu Trails
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
25 Jul 2008 at 10:23 UTC
Updated:
24 Jul 2009 at 16:13 UTC
I had the problem, that I could not set the menu trail for the forum start page. Here is my solution:
in the Forum module line 864 there is a theme function: function theme_forum_display
if you copy that function in your template file and rename it as usual (function your_theme_name_forum_display), you can change the active menu item by changing the array('path' => 'forum', 'title' => $title) to the desired path in this part of the code:
// Breadcrumb navigation:
$breadcrumb = array();
if ($tid) {
$breadcrumb[] = array('path' => 'forum', 'title' => $title);
}
I don't think, this is a very clean solution. perhaps somebody knows how to put this in the Menu Trails module? I didn't find a proper hook...
Greetings,
lh
Comments
Comment #1
sunSorry, Menu Trails for Drupal 5 is not actively developed/maintained anymore. Only issues containing patches may still be considered. Feel free to re-open this issue if you want to provide a patch.