From d8e044d4b6bcc240f974d457a4601f54b6eea526 Mon Sep 17 00:00:00 2001 From: dave Date: Wed, 21 Apr 2010 09:44:48 +0000 Subject: let site admins toggle between a classic activity stream or the new clustered version git-svn-id: http://code.elgg.org/elgg/trunk@5826 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/profile/views/default/profile/profile_contents/activity.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'mod/profile/views/default') diff --git a/mod/profile/views/default/profile/profile_contents/activity.php b/mod/profile/views/default/profile/profile_contents/activity.php index 0184816e0..a9b8cce8c 100755 --- a/mod/profile/views/default/profile/profile_contents/activity.php +++ b/mod/profile/views/default/profile/profile_contents/activity.php @@ -16,8 +16,11 @@ echo elgg_view("profile/status", array("entity" => $vars['entity'])); } if(is_plugin_enabled('riverdashboard')) { - // users last 10 activites - echo elgg_view_river_items($vars['entity']->getGuid(), 0, '', '', '', '', $limit,0,0,false,false); + //select the correct river + if (get_plugin_setting('activitytype', 'riverdashboard') == 'classic') + echo elgg_view_river_items($vars['entity']->getGuid(), 0, '', '', '', '', $limit,0,0,false,true); + else + echo elgg_view_river_items($vars['entity']->getGuid(), 0, '', '', '', '', $limit,0,0,false,false); } else { echo "Riverdashboard not loaded"; } -- cgit v1.2.3