In order to have your friends' activities showing up within your custom dashboard in the 'river' style,
place the following code whereever you want the information to show up.
<?php
$owner = page_owner_entity();
$limit = 8;
if ($vars['entity']->limit)
$limit = $vars['entity']->limit;
echo elgg_view_friend_river($owner->guid, $limit);
?>
Hope this helps!
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.