aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/views/rss/groups
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-11-04 07:01:21 -0400
committerCash Costello <cash.costello@gmail.com>2011-11-04 07:01:21 -0400
commit7787debf3e536497952256df147ea84e520390e3 (patch)
tree83418d09f54ecd3101f796e1efc721a3021934c9 /mod/groups/views/rss/groups
parent5d480f2d8a767c682878071c3c8f7f6b45770c14 (diff)
downloadelgg-7787debf3e536497952256df147ea84e520390e3.tar.gz
elgg-7787debf3e536497952256df147ea84e520390e3.tar.bz2
Fixes #4027 updated groups RSS feeds for 1.8
Diffstat (limited to 'mod/groups/views/rss/groups')
-rw-r--r--mod/groups/views/rss/groups/contentwrapper.php5
-rw-r--r--mod/groups/views/rss/groups/profile/layout.php13
-rw-r--r--mod/groups/views/rss/groups/profileitems.php15
3 files changed, 13 insertions, 20 deletions
diff --git a/mod/groups/views/rss/groups/contentwrapper.php b/mod/groups/views/rss/groups/contentwrapper.php
deleted file mode 100644
index 15397d552..000000000
--- a/mod/groups/views/rss/groups/contentwrapper.php
+++ /dev/null
@@ -1,5 +0,0 @@
-<?php
-
- echo $vars['body'];
-
-?> \ No newline at end of file
diff --git a/mod/groups/views/rss/groups/profile/layout.php b/mod/groups/views/rss/groups/profile/layout.php
new file mode 100644
index 000000000..3eeb9eaf2
--- /dev/null
+++ b/mod/groups/views/rss/groups/profile/layout.php
@@ -0,0 +1,13 @@
+<?php
+/**
+ * Group profile RSS view
+ *
+ * Displays a list of the latest content in the group
+ *
+ * @uses $vars['entity'] ElggGroup object
+ */
+
+echo elgg_list_entities(array(
+ 'type' => 'object',
+ 'container_guid' => $vars['entity']->getGUID(),
+));
diff --git a/mod/groups/views/rss/groups/profileitems.php b/mod/groups/views/rss/groups/profileitems.php
deleted file mode 100644
index 5e595a379..000000000
--- a/mod/groups/views/rss/groups/profileitems.php
+++ /dev/null
@@ -1,15 +0,0 @@
-<?php
- /**
- * Elgg groups items view.
- * This is the messageboard, members, pages and latest forums posts. Each plugin will extend the views
- *
- * @package ElggGroups
- */
-
- //right column
- if ($forae = elgg_get_entities(array('types' => 'object', 'container_guid' => $vars['entity']->guid))) {
- foreach($forae as $forum)
- echo elgg_view_entity($forum);
- }
-
-?> \ No newline at end of file