From 75bd3af84a76345928a831eecbc5d0f99f9fead4 Mon Sep 17 00:00:00 2001 From: Kevin Jardine Date: Sat, 6 Oct 2012 09:10:39 +0200 Subject: RSS feeds now work again --- views/rss/event_calendar/show_events.php | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'views/rss/event_calendar/show_events.php') diff --git a/views/rss/event_calendar/show_events.php b/views/rss/event_calendar/show_events.php index add5b75db..40c67ff6a 100644 --- a/views/rss/event_calendar/show_events.php +++ b/views/rss/event_calendar/show_events.php @@ -9,7 +9,16 @@ * @link http://radagast.biz/ * */ + +elgg_load_library('elgg:event_calendar'); if ($vars['events']) { - echo elgg_view_entity_list($vars['events'], $vars['count'], $vars['offset'], $vars['limit'], false, false); + $options = array( + 'count' => $vars['count'], + 'offset' => 0, + 'limit' => 15, + 'list_type_toggle' => FALSE, + 'pagination' => FALSE, + ); + // echo elgg_view_entity_list($vars['events'], $vars['count'], $vars['offset'], $vars['limit'], false, false); + echo elgg_view_entity_list(event_calendar_flatten_event_structure($vars['events']), $options); } -?> \ No newline at end of file -- cgit v1.2.3