diff options
-rw-r--r-- | mod/groups/groupprofile.php | 2 | ||||
-rw-r--r-- | mod/groups/views/rss/groups/profileitems.php | 10 |
2 files changed, 7 insertions, 5 deletions
diff --git a/mod/groups/groupprofile.php b/mod/groups/groupprofile.php index b7dffa524..8945e6cc6 100644 --- a/mod/groups/groupprofile.php +++ b/mod/groups/groupprofile.php @@ -12,6 +12,8 @@ $group_guid = get_input('group_guid');
set_context('groups');
+ global $autofeed;
+ $autofeed = true;
$group = get_entity($group_guid);
if ($group) {
diff --git a/mod/groups/views/rss/groups/profileitems.php b/mod/groups/views/rss/groups/profileitems.php index d752c6c48..84afd8e6b 100644 --- a/mod/groups/views/rss/groups/profileitems.php +++ b/mod/groups/views/rss/groups/profileitems.php @@ -11,10 +11,10 @@ */
//right column
- echo elgg_view("groups/forum_latest",array('entity' => $vars['entity']));
- echo elgg_view("groups/right_column",array('entity' => $vars['entity']));
-
- //left column
- echo elgg_view("groups/left_column",array('entity' => $vars['entity']));
+ if ($forae = get_entities('object','',$vars['entity']->guid)) {
+ //if ($forae = get_entities_from_annotations("object", "groupforumtopic", "group_topic_post", "", 0, $vars['entity']->guid, 20, 0, "desc", false)) {
+ foreach($forae as $forum)
+ echo elgg_view_entity($forum);
+ }
?>
\ No newline at end of file |