aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--actions/systemsettings/install.php3
-rw-r--r--mod/groups/groupprofile.php2
-rw-r--r--mod/groups/start.php4
3 files changed, 3 insertions, 6 deletions
diff --git a/actions/systemsettings/install.php b/actions/systemsettings/install.php
index fcb3483d3..db7b89a88 100644
--- a/actions/systemsettings/install.php
+++ b/actions/systemsettings/install.php
@@ -45,9 +45,6 @@
// activate profile by default
enable_plugin('profile', $site->getGUID());
- // activate groups by default
- enable_plugin('groups', $site->getGUID());
-
// activate river by default
enable_plugin('river', $site->getGUID());
diff --git a/mod/groups/groupprofile.php b/mod/groups/groupprofile.php
index 2602dac1e..3931c5a31 100644
--- a/mod/groups/groupprofile.php
+++ b/mod/groups/groupprofile.php
@@ -18,7 +18,7 @@
$body = elgg_view_layout('one_column', elgg_view('group/group', array('entity' => $group, 'user' => $_SESSION['user'], 'full' => true)));
- $body .= elgg_view_layout('widgets', "", "", elgg_echo('groups:nowidgets'));
+ //$body .= elgg_view_layout('widgets', "", "", elgg_echo('groups:nowidgets'));
// Finally draw the page
page_draw($group->name, $body);
diff --git a/mod/groups/start.php b/mod/groups/start.php
index 333f1ee90..04e211e80 100644
--- a/mod/groups/start.php
+++ b/mod/groups/start.php
@@ -57,8 +57,8 @@
add_page_owner_handler('groups_page_owner_handler');
// Add some widgets
- add_widget_type('group_members_widget',elgg_echo('groups:widgets:members:title'), elgg_echo('groups:widgets:members:description'));
- add_widget_type('group_entities_widget',elgg_echo('groups:widgets:entities:title'), elgg_echo('groups:widgets:entities:description'));
+ add_widget_type('group_members_widget',elgg_echo('groups:widgets:members:title'), elgg_echo('groups:widgets:members:description'), 'groups');
+ add_widget_type('group_entities_widget',elgg_echo('groups:widgets:entities:title'), elgg_echo('groups:widgets:entities:description'), 'groups');
// For now, we'll hard code the groups profile items as follows:
// TODO make this user configurable