diff options
author | Cash Costello <cash.costello@gmail.com> | 2011-09-11 08:30:04 -0400 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2011-09-11 08:30:04 -0400 |
commit | d2e9a0c7fae9d0c57dd8646aa6ef277f2e14b7fe (patch) | |
tree | 2292decee3ec49ec76e8b62066c4d2562339ec9e /mod/dashboard/start.php | |
parent | d3b4548a57668ffef7c02b9bc3b84e69a0a5eb8b (diff) | |
download | elgg-d2e9a0c7fae9d0c57dd8646aa6ef277f2e14b7fe.tar.gz elgg-d2e9a0c7fae9d0c57dd8646aa6ef277f2e14b7fe.tar.bz2 |
Fixes #3340 adds group activity widget for the user dashboard
Diffstat (limited to 'mod/dashboard/start.php')
-rw-r--r-- | mod/dashboard/start.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mod/dashboard/start.php b/mod/dashboard/start.php index 69572bd32..5635ead57 100644 --- a/mod/dashboard/start.php +++ b/mod/dashboard/start.php @@ -18,6 +18,14 @@ function dashboard_init() { 'section' => 'alt', )); + elgg_register_widget_type( + 'group_activity', + elgg_echo('dashboard:widget:group:title'), + elgg_echo('dashboard:widget:group:desc'), + 'dashboard', + true + ); + elgg_register_plugin_hook_handler('get_list', 'default_widgets', 'dashboard_default_widgets'); } |