aboutsummaryrefslogtreecommitdiff
path: root/start.php
diff options
context:
space:
mode:
authorKevin Jardine <kevinjardine@yahoo.com>2012-07-17 08:57:37 -0700
committerKevin Jardine <kevinjardine@yahoo.com>2012-07-17 08:57:37 -0700
commit86d154541f9cf1de74f79cae6c1b05b3214bdca8 (patch)
tree46475df7579e0bf12c7bff62c3e125b16c641247 /start.php
parent5c7dcf2a382479a4f9cf7eafeaa4eb30faed440d (diff)
parent190a81e721df6efb1d051830c1ee852c1fe7b069 (diff)
downloadelgg-86d154541f9cf1de74f79cae6c1b05b3214bdca8.tar.gz
elgg-86d154541f9cf1de74f79cae6c1b05b3214bdca8.tar.bz2
Merge pull request #33 from beck24/group-widget
Allows calendar widget to be useful in groups context
Diffstat (limited to 'start.php')
-rw-r--r--start.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/start.php b/start.php
index dd5437944..49312599f 100644
--- a/start.php
+++ b/start.php
@@ -73,7 +73,7 @@ function event_calendar_init() {
}
//add a widget
- elgg_register_widget_type('event_calendar',elgg_echo("event_calendar:widget_title"),elgg_echo('event_calendar:widget:description'));
+ elgg_register_widget_type('event_calendar',elgg_echo("event_calendar:widget_title"),elgg_echo('event_calendar:widget:description'), 'all,groups');
// add the event calendar group tool option
$event_calendar_group_default = elgg_get_plugin_setting('group_default', 'event_calendar');