aboutsummaryrefslogtreecommitdiff
path: root/views/rss/event_calendar/show_events.php
diff options
context:
space:
mode:
authorKevin Jardine <kevinjardine@yahoo.com>2012-10-06 09:10:39 +0200
committerKevin Jardine <kevinjardine@yahoo.com>2012-10-06 09:10:39 +0200
commit75bd3af84a76345928a831eecbc5d0f99f9fead4 (patch)
tree8b3c8b347474cc13f42d72f7151f8af9834c4d87 /views/rss/event_calendar/show_events.php
parente858bc7203426e6782b99a627bbfa1668e9d590d (diff)
downloadelgg-75bd3af84a76345928a831eecbc5d0f99f9fead4.tar.gz
elgg-75bd3af84a76345928a831eecbc5d0f99f9fead4.tar.bz2
RSS feeds now work again
Diffstat (limited to 'views/rss/event_calendar/show_events.php')
-rw-r--r--views/rss/event_calendar/show_events.php13
1 files changed, 11 insertions, 2 deletions
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