aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/views
diff options
context:
space:
mode:
Diffstat (limited to 'mod/groups/views')
-rw-r--r--mod/groups/views/default/groups/forum_latest.php2
-rw-r--r--mod/groups/views/default/groups/profileitems.php5
2 files changed, 6 insertions, 1 deletions
diff --git a/mod/groups/views/default/groups/forum_latest.php b/mod/groups/views/default/groups/forum_latest.php
index 50a1c6258..4a51bd707 100644
--- a/mod/groups/views/default/groups/forum_latest.php
+++ b/mod/groups/views/default/groups/forum_latest.php
@@ -11,7 +11,7 @@
<h2><?php echo elgg_echo('groups:latestdiscussion'); ?></h2>
<?php
- $forum = get_entities_from_annotations("object", "groupforumtopic", "group_topic_post", "", 0, $vars['entity']->guid, 6, 0, "desc", false);
+ $forum = get_entities_from_annotations("object", "groupforumtopic", "group_topic_post", "", 0, $vars['entity']->guid, 4, 0, "desc", false);
if($forum){
foreach($forum as $f){
diff --git a/mod/groups/views/default/groups/profileitems.php b/mod/groups/views/default/groups/profileitems.php
index 0578aaf41..cae323162 100644
--- a/mod/groups/views/default/groups/profileitems.php
+++ b/mod/groups/views/default/groups/profileitems.php
@@ -10,6 +10,11 @@
* @link http://elgg.com/
*/
+ //forum
+ echo "<div id=\"fullcolumn\">";
+ echo elgg_view("groups/forum_latest",array('entity' => $vars['entity']));
+ echo "</div>";
+
//right column
echo "<div class=\"right_column\">";
echo elgg_view("groups/forum_latest",array('entity' => $vars['entity']));