aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Beckett <beck24@gmail.com>2012-07-03 13:13:35 -0600
committerMatt Beckett <beck24@gmail.com>2012-07-03 13:13:35 -0600
commit190a81e721df6efb1d051830c1ee852c1fe7b069 (patch)
tree29f86cdf8a8c62d6e09c79dfbdb38119358085a3
parentbd6840a34cd9d3b3afabf3f6c977f8cea5a32662 (diff)
downloadelgg-190a81e721df6efb1d051830c1ee852c1fe7b069.tar.gz
elgg-190a81e721df6efb1d051830c1ee852c1fe7b069.tar.bz2
enables group context for widget
-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');