aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/groups/groupprofile.php2
-rw-r--r--mod/groups/start.php4
2 files changed, 3 insertions, 3 deletions
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