aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/start.php
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-09 15:12:23 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-09 15:12:23 +0000
commit441bf62e1e767991ac3d25c14ed8d1291b142639 (patch)
tree1abe6f1bc8069caca40741c77c201c7aecc66646 /mod/groups/start.php
parenta74d4216eb5a89743e0938d831db0ec57fc8df05 (diff)
downloadelgg-441bf62e1e767991ac3d25c14ed8d1291b142639.tar.gz
elgg-441bf62e1e767991ac3d25c14ed8d1291b142639.tar.bz2
a simple widget that displays a users groups on their profile
git-svn-id: https://code.elgg.org/elgg/trunk@1811 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups/start.php')
-rw-r--r--mod/groups/start.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/mod/groups/start.php b/mod/groups/start.php
index 38c799bf6..3500f829a 100644
--- a/mod/groups/start.php
+++ b/mod/groups/start.php
@@ -55,8 +55,10 @@
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'), 'groups');
- add_widget_type('group_entities_widget',elgg_echo('groups:widgets:entities:title'), elgg_echo('groups:widgets:entities:description'), 'groups');
+ //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');
+ add_widget_type('a_users_groups',elgg_echo('groups:widget:membership'), elgg_echo('groups:widgets:description'), 'profile');
+
//extend some views
extend_view('profile/icon','groups/icon');