Node relativity and breadcrumb menu trails?

zwoop - September 17, 2008 - 23:34
Project:Node Relativity
Version:5.x-2.4
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

Maybe I'm missing something, but is there a way to make my pages / story's etc. update the breadcrumb trail properly, as a "book" structure would? The breadcrumb trail is only updated if I explicitly add the pages / story's to the navigation menu, which is undesirable. Maybe I'm using "node relativity" wrong, but in my case, I wanted to use it to organize various different content types in a hieararchy, and having the breadcrumb trail updated would really help navigation.

#1

zwoop - September 18, 2008 - 02:46

For shits and grins, I whipped up something that does seem to work (see patch). It doesn't add any config options etc., and since I'm not a PHP programmer, I really don't know if this is the right way of doing this. But it does seem to work :).

Cheers,

AttachmentSize
relativity.diff 1.15 KB

#2

zwoop - September 18, 2008 - 14:52

Here's a slightly better diff, which adds a global config option to turn this feature on/off.

AttachmentSize
relativity.diff 2.23 KB

#3

zwoop - September 22, 2008 - 03:17
Category:support request» feature request
 
 

Drupal is a registered trademark of Dries Buytaert.