aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/views/default/groups/forum_latest.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/groups/views/default/groups/forum_latest.php')
-rw-r--r--mod/groups/views/default/groups/forum_latest.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/mod/groups/views/default/groups/forum_latest.php b/mod/groups/views/default/groups/forum_latest.php
new file mode 100644
index 000000000..f0a62a14f
--- /dev/null
+++ b/mod/groups/views/default/groups/forum_latest.php
@@ -0,0 +1,14 @@
+<h2>Forum latest</h2>
+<?php
+
+//get the latest from the group files
+// Display them
+ // list_entities_from_annotations($entity_type = "", $entity_subtype = "", $name = "", $value = "", $limit = 10, $owner_guid = 0, $group_guid = 0, $asc = false, $fullview = true) {
+
+ set_context('search');
+ // $forum_topics = list_entities_from_annotations("object", "groupforumtopic", "group_topic_post", "", 5, 0, 3, false, true);
+ set_context('forums');
+
+ echo $forum_topics;
+
+?> \ No newline at end of file