Non-node page support (D6)

Anselm Heaton - February 17, 2009 - 11:48
Project:Menu Trails
Version:6.x-1.0
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs work
Description

Hi,

There is a similar issue for Drupal 5 : http://drupal.org/node/366348 - I'm posting this for Drupal 6, as it might be a different maintainer/problem to solve/etc.

I see that there is support for OG groups non-node-page support. I understand that non-node support is a bit of a case-by-case issue, and it's hard to have a generic version that works everywhere.

However, on the site I'm working on I can see the generic version does work in many cases - so it would be good to be able to enable it for given pages. Once I've worked out how to identify a given page, I'll contribute the code to do this :)

Thanks :)

#1

Anselm Heaton - February 17, 2009 - 12:03

In the mean time, for people who want this, here is a patch against 1.0 that enables non-node support for all non-node pages.

Edit: Not quite. See comment below before trying this patch.

AttachmentSize
menutrails.patch 606 bytes

#2

Anselm Heaton - February 17, 2009 - 12:03

I went a bit too fast there :) What the patch above does is that, if the menu trail is correct, then it will set the correct breadcrumb. It won't however enable you to force the menu trail.

It's just that this was the feature I needed so I didn't look further :) I don't really advise to use that patch unless you want to play around. I will look more into this !

#3

sun - July 24, 2009 - 15:40
Status:active» needs work

Proper status.

 
 

Drupal is a registered trademark of Dries Buytaert.