From aa3ea214f65cdd49adc5d2c6047127c4bd7cc7c8 Mon Sep 17 00:00:00 2001 From: marcus Date: Thu, 17 Jul 2008 15:08:05 +0000 Subject: Closes #165 & #167 git-svn-id: https://code.elgg.org/elgg/trunk@1456 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/groups/groupprofile.php | 2 +- mod/groups/start.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'mod/groups') 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 -- cgit v1.2.3