From 8babbe58d8852cd4d8919f336e8ea3a1c3d73699 Mon Sep 17 00:00:00 2001 From: dave Date: Sun, 15 Feb 2009 16:21:58 +0000 Subject: group homepage forum view tweaked git-svn-id: https://code.elgg.org/elgg/trunk@2751 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/groups/views/default/groups/forum_latest.php | 2 +- mod/groups/views/default/groups/profileitems.php | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'mod/groups/views/default') 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 @@

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 "
"; + echo elgg_view("groups/forum_latest",array('entity' => $vars['entity'])); + echo "
"; + //right column echo "
"; echo elgg_view("groups/forum_latest",array('entity' => $vars['entity'])); -- cgit v1.2.3