aboutsummaryrefslogtreecommitdiff
path: root/views/rss
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2012-11-23 01:05:31 +0100
committerSem <sembrestels@riseup.net>2012-11-23 01:05:31 +0100
commit39bca929f875ca6e9bd422b112d1e48b717fa126 (patch)
treedb17973fedc2bb72ba25dbfde6513e5194c69be2 /views/rss
parent58eebf19ad92aa1c3247aaec4f61e1440a81523a (diff)
parent75bd3af84a76345928a831eecbc5d0f99f9fead4 (diff)
downloadelgg-39bca929f875ca6e9bd422b112d1e48b717fa126.tar.gz
elgg-39bca929f875ca6e9bd422b112d1e48b717fa126.tar.bz2
Merge branch 'full' of git://github.com/kevinjardine/Elgg-Event-Calendar
Diffstat (limited to 'views/rss')
-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