aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-15 16:21:58 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-15 16:21:58 +0000
commit8babbe58d8852cd4d8919f336e8ea3a1c3d73699 (patch)
tree338980126bc95d828bbb9e38b190fd114ac0d2e1
parentb08401cb65d9a6da61a5941bc2936d144e2b46d3 (diff)
downloadelgg-8babbe58d8852cd4d8919f336e8ea3a1c3d73699.tar.gz
elgg-8babbe58d8852cd4d8919f336e8ea3a1c3d73699.tar.bz2
group homepage forum view tweaked
git-svn-id: https://code.elgg.org/elgg/trunk@2751 36083f99-b078-4883-b0ff-0f9b5a30f544
-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']));