aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/groups/views/rss/forum/topics.php21
-rw-r--r--mod/groups/views/rss/forum/viewposts.php16
-rw-r--r--mod/groups/views/rss/groups/profileitems.php20
3 files changed, 57 insertions, 0 deletions
diff --git a/mod/groups/views/rss/forum/topics.php b/mod/groups/views/rss/forum/topics.php
new file mode 100644
index 000000000..dff44b7f0
--- /dev/null
+++ b/mod/groups/views/rss/forum/topics.php
@@ -0,0 +1,21 @@
+<?php
+ /**
+ * Elgg groups plugin
+ *
+ * @package ElggGroups
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Curverider
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.com/
+ */
+
+ // If there are any topics to view, view them
+ if (is_array($vars['entity']) && sizeof($vars['entity']) > 0) {
+
+ foreach($vars['entity'] as $topic) {
+
+ echo elgg_view_entity($topic);
+
+ }
+ }
+?> \ No newline at end of file
diff --git a/mod/groups/views/rss/forum/viewposts.php b/mod/groups/views/rss/forum/viewposts.php
new file mode 100644
index 000000000..b1f4fb6ee
--- /dev/null
+++ b/mod/groups/views/rss/forum/viewposts.php
@@ -0,0 +1,16 @@
+<?php
+
+ /**
+ * Elgg groups plugin display topic posts
+ *
+ * @package ElggGroups
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Curverider
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.com/
+ */
+
+ echo elgg_view_entity($vars['entity']);
+
+
+?> \ No newline at end of file
diff --git a/mod/groups/views/rss/groups/profileitems.php b/mod/groups/views/rss/groups/profileitems.php
new file mode 100644
index 000000000..7867f3683
--- /dev/null
+++ b/mod/groups/views/rss/groups/profileitems.php
@@ -0,0 +1,20 @@
+<?php
+ /**
+ * Elgg groups items view.
+ * This is the messageboard, members, pages and latest forums posts. Each plugin will extend the views
+ *
+ * @package ElggGroups
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Curverider
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.com/
+ */
+
+ //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']));
+
+?> \ No newline at end of file