blob: ad52365e65c2fa9e750e134e6198438ed16e06df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<?php
/**
* Elgg groups plugin display topic posts
*
* @package ElggGroups
*/
//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));
}
?>
|