From e865c76851e58ef84fa47ccbca19a11980efd596 Mon Sep 17 00:00:00 2001 From: ben Date: Mon, 23 Feb 2009 17:24:45 +0000 Subject: Group RSS feed. git-svn-id: https://code.elgg.org/elgg/trunk@2901 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/groups/groupprofile.php | 2 ++ 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 -- cgit v1.2.3