aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-23 17:24:45 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-23 17:24:45 +0000
commite865c76851e58ef84fa47ccbca19a11980efd596 (patch)
treea0dc089ef5f9c2bf483c3601d28340e217ba065b
parent13eb709c3edb1191b398f7632e30df8d05a628f5 (diff)
downloadelgg-e865c76851e58ef84fa47ccbca19a11980efd596.tar.gz
elgg-e865c76851e58ef84fa47ccbca19a11980efd596.tar.bz2
Group RSS feed.
git-svn-id: https://code.elgg.org/elgg/trunk@2901 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--mod/groups/groupprofile.php2
-rw-r--r--mod/groups/views/rss/groups/profileitems.php10
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