From 7b9a6b57208ec897899cc3eb178de4d4098dae83 Mon Sep 17 00:00:00 2001 From: brettp Date: Thu, 10 Mar 2011 05:34:06 +0000 Subject: Fixes #3069. Added group activity content. git-svn-id: http://code.elgg.org/elgg/trunk@8648 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/groups/lib/groups.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/mod/groups/lib/groups.php b/mod/groups/lib/groups.php index 28816c309..d3b8bd26a 100644 --- a/mod/groups/lib/groups.php +++ b/mod/groups/lib/groups.php @@ -236,7 +236,12 @@ function groups_handle_activity_page($guid) { elgg_push_breadcrumb($group->name, $group->getURL()); elgg_push_breadcrumb($title); - $content = "Group activity goes here"; + $db_prefix = elgg_get_config('dbprefix'); + + $content = elgg_list_river(array( + 'joins' => array("JOIN {$db_prefix}entities e ON e.guid = rv.object_guid"), + 'wheres' => array("e.container_guid = $guid") + )); $params = array( 'content' => $content, -- cgit v1.2.3