aboutsummaryrefslogtreecommitdiff
path: root/friends.php
diff options
context:
space:
mode:
Diffstat (limited to 'friends.php')
-rw-r--r--friends.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/friends.php b/friends.php
index 2a8d32569..4a0178359 100644
--- a/friends.php
+++ b/friends.php
@@ -22,6 +22,10 @@ set_context('videolist');
// include a view for plugins to extend
$area3 = elgg_view("videolist/sidebar", array("object_type" => 'videolist'));
+
+// fetch & display latest comments on friends videos
+$comments = get_annotations(0, "object", "videolist", "generic_comment", "", 0, 4, 0, "desc");
+$area3 .= elgg_view('annotation/latest_comments', array('comments' => $comments));
// Format page
$body = elgg_view_layout('one_column_with_sidebar', $area1.$area2, $area3);