aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-17 15:08:05 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-17 15:08:05 +0000
commitaa3ea214f65cdd49adc5d2c6047127c4bd7cc7c8 (patch)
tree35b00e777dc78c59a07e4f014aefe176043c8b3a
parent4fa8a9033ee855ebffe06b1b06a5112f56f9ed68 (diff)
downloadelgg-aa3ea214f65cdd49adc5d2c6047127c4bd7cc7c8.tar.gz
elgg-aa3ea214f65cdd49adc5d2c6047127c4bd7cc7c8.tar.bz2
Closes #165 & #167
git-svn-id: https://code.elgg.org/elgg/trunk@1456 36083f99-b078-4883-b0ff-0f9b5a30f544
-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