in my d6 installation with OG module i had problems with the default setting for "individual organic group trails". the module ignored the settings made for individual groups and used for all node pages the "Default menu trail for all nodes with group audience: " option instead. i fixed it with the following patch, not sure if it is a clean solution. but for me it seems to work.
--- menutrails.module.orig 2009-08-17 18:37:53.000000000 +0200
+++ menutrails.module 2009-12-18 15:30:57.000000000 +0100
@@ -150,8 +150,8 @@ function menutrails_node_location($node)
}
else {
$group_trails = variable_get('menutrails_og_node', FALSE);
- if ($group_trails[$group] > 0) {
- $href = 'node/'. $group;
+ if (!empty($group_trails[$group])) {
+ $href=$group_trails[$group];
}
elseif (variable_get('menutrails_og_post_default', FALSE)) {
$href = variable_get('menutrails_og_post_default', FALSE);
Comments
Comment #1
sun