--- og.module.original	Mon Jun 04 05:11:16 2007
+++ og.module	Fri Aug 10 17:45:52 2007
@@ -348 +348,4 @@
-  $bc[] = array('path' => "og", 'title' => t('Groups'));
+  // $bc[] = array('path' => "og", 'title' => t('Groups'));
+  // description is not used!!! Why breadcrumb-system don't use it???
+  // 'description' => variable_get('og_root_breadcrumb_description')
+  $bc[] = array('path' => variable_get('og_root_breadcrub_path','og'),'title' => variable_get('og_root_breadcrub_title','Goups'));
@@ -939 +942,4 @@
-  $bc[] = array('path' => "og", 'title' => t('Groups'));
+  // $bc[] = array('path' => "og", 'title' => t('Groups'));
+  // description is not used!!! Why breadcrumb-system don't use it???
+  // 'description' => variable_get('og_root_breadcrumb_description')
+  $bc[] = array('path' => variable_get('og_root_breadcrub_path','og'),'title' => variable_get('og_root_breadcrub_title','Goups'));
@@ -1044 +1050,4 @@
-    $bc[] = array('path' => "og", 'title' => t('Groups'));
+    // $bc[] = array('path' => "og", 'title' => t('Groups'));
+    // description is not used!!! Why breadcrumb-system don't use it???
+    // 'description' => variable_get('og_root_breadcrumb_description')
+    $bc[] = array('path' => variable_get('og_root_breadcrub_path','og'),'title' => variable_get('og_root_breadcrub_title','Goups'));
@@ -1271 +1280,4 @@
-        $bc[] = array('path' => "og", 'title' => t('Groups'));
+        // $bc[] = array('path' => "og", 'title' => t('Groups'));
+        // description is not used!!! Why breadcrumb-system don't use it???
+        // 'description' => variable_get('og_root_breadcrumb_description')
+        $bc[] = array('path' => variable_get('og_root_breadcrub_path','og'),'title' => variable_get('og_root_breadcrub_title','Goups'));
@@ -2350,0 +2363,19 @@
+  //groups breadcrumb root link
+  $description = t('Change default root-breadcrumb of Group-nodes (default is <em>q=og</em> with text "Groups"). You can redirect this to any node you want or your personalizze view');
+  $form['og_settings']['root_breadcrumb'] = array('#type' => 'fieldset',
+                                                  '#title' => t('Groups root breadcrumb'),
+                                                  '#description' => $description,
+                                                  '#collapsible' => TRUE,
+                                                  '#collapsed' => FALSE);
+  $form['og_settings']['root_breadcrumb']['og_root_breadcrub_title'] = array('#type' => 'textfield',
+                                                                             '#title' => t('Title'),
+                                                                             '#description' => t('The name of the Breadcrumb part.'),
+                                                                             '#default_value' => variable_get('og_root_breadcrub_title','Groups'));
+  $form['og_settings']['root_breadcrumb']['og_root_breadcrub_description'] = array('#type' => 'textfield',
+                                                                            '#title' => t('Description'),
+                                                                            '#description' => t('The description displayed when hovering over the Breadcrumb part.'),
+                                                                            '#default_value' => variable_get('og_root_breadcrub_description',t('List of Groups')));  
+  $form['og_settings']['root_breadcrumb']['og_root_breadcrub_path'] = array('#type' => 'textfield',
+                                                                            '#title' => t('Path'),
+                                                                            '#description' => 'path of your root, define it without <em>?q=</em>',
+                                                                            '#default_value' => variable_get('og_root_breadcrub_path','og'));  
