diff options
Diffstat (limited to 'mod/groups/views')
-rw-r--r-- | mod/groups/views/default/forum/topicposts.php | 1 | ||||
-rw-r--r-- | mod/groups/views/rss/forum/topicposts.php | 3 | ||||
-rw-r--r-- | mod/groups/views/rss/forum/viewposts.php | 12 |
3 files changed, 15 insertions, 1 deletions
diff --git a/mod/groups/views/default/forum/topicposts.php b/mod/groups/views/default/forum/topicposts.php index 5b259d13f..e9ddaa40e 100644 --- a/mod/groups/views/default/forum/topicposts.php +++ b/mod/groups/views/default/forum/topicposts.php @@ -20,6 +20,7 @@ <table width="100%">
<tr>
<td>
+ <a name="<?php echo $vars['entity']->id; ?>"></a>
<?php
//get infomation about the owner of the comment
if ($post_owner = get_user($vars['entity']->owner_guid)) {
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 |