diff options
Diffstat (limited to 'mod/groups/views/rss/forum')
-rw-r--r-- | mod/groups/views/rss/forum/topicposts.php | 3 | ||||
-rw-r--r-- | mod/groups/views/rss/forum/viewposts.php | 12 |
2 files changed, 14 insertions, 1 deletions
diff --git a/mod/groups/views/rss/forum/topicposts.php b/mod/groups/views/rss/forum/topicposts.php new file mode 100644 index 000000000..0165eb215 --- /dev/null +++ b/mod/groups/views/rss/forum/topicposts.php @@ -0,0 +1,3 @@ +<?php
+
+?>
\ No newline at end of file diff --git a/mod/groups/views/rss/forum/viewposts.php b/mod/groups/views/rss/forum/viewposts.php index 157be91da..b537ffc83 100644 --- a/mod/groups/views/rss/forum/viewposts.php +++ b/mod/groups/views/rss/forum/viewposts.php @@ -10,7 +10,17 @@ * @link http://elgg.com/
*/
- echo elgg_view_entity($vars['entity']);
+ //display follow up comments
+ $count = $vars['entity']->countAnnotations('group_topic_post');
+ $offset = (int) get_input('offset',0);
+
+ foreach($vars['entity']->getAnnotations('group_topic_post', 50, $offset, "asc") as $post) {
+ $post->title = '';
+ $post->description = $post->value;
+ echo elgg_view('object/default', array('entity' => $post));
+ // echo elgg_view("forum/topicposts",array('entity' => $post));
+
+ }
?>
\ No newline at end of file |