Menu trails operation not clear

RdeBoer - July 31, 2009 - 05:25
Project:Menu Trails
Version:6.x-1.x-dev
Component:Documentation
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi,
No doubt this is a great module, but I have not been able to work out what it does.
From the project page:

Menu Trails implements primary/secondary links which keep the current menu trail "active" or highlighted. A handy snippet ready to go into your template.php is included.

First, where's this "handy snippet" ?

Where exactly on the screen is the highlighting taking place? I certainly don't get additional tabs at the top of my screen as suggested by the AFTER screenshot. Not for the navigation menu and not for my primary links menu.

Having said that, I'm not quite sure what to select on the admin/build/menu/trails page, so it's probably user error.

Your help is much appreciated.

I've used the Bluemarine and Garland themes to no avail.

#1

RdeBoer - July 31, 2009 - 05:26
Title:Opreation not clear» Menu trails operation not clear

#2

rvanderh - July 31, 2009 - 20:56

Same problem here. Module sounds promising, but I don't see it working as seen in the screenshots. More help and documentation is welcome.

#3

pkiff - August 13, 2009 - 19:14

This is still open, and though I'm no menutrails wizard, I should be able to at least point you in the right direction.

First, the "handy snippet" should no longer be necessary under Drupal 6.x. The dev version of the module has a revised README.TXT as explained by eojthebrave here:
http://drupal.org/node/328517#comment-1484966

I've used the official (not dev) version of menutrails with Zen and I didn't need to add anything to my template.php file.

There are two additional issues that seem confusing.

1. Menu Appearing
In the screen shots, the primary menu does not appear on one image and then it appears at the top on the next, along with an expanded sub-menu. The idea here is that you can get the primary menu to appear on pages that are not actually listed as part of the primary menu tree. To do this, you can add items to a menu trail, so that Drupal knows which menu item is their parent, even if they themselves are not explicitly situated in the primary menu tree. So, for example, if you have a menu item "Blog" and you want all your blog postings to appear with the "Blog" item highlighted in the menu, then go to admin/settings/menutrails and under node type, select the document type for blog posts and then identify its parent item as "Blog".

2. Menu Item Highlighted
The way you actually highlight a menu item is by using CSS and editing your theme.css file. The menutrails moodule adds an "active-trail" class to the appropriate li menu item corresponding to your settings above. To make this appear highlighted, you will probably need to edit your css file as explained by karel3s here:
http://drupal.org/node/328517#comment-1477864

Hope this helps.

Phil.

#4

RdeBoer - August 27, 2009 - 06:32

Thanks Phil!

 
 

Drupal is a registered trademark of Dries Buytaert.