diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -42,6 +42,14 @@ if(page_owner() == get_loggedin_userid()) { $area1 .= elgg_view('page_elements/content_header_member', array('type' => 'videolist')); } +// include a view for plugins to extend +$area3 = elgg_view("videolist/sidebar", array("object_type" => 'videolist')); + +// get the latest comments on all videos +$comments = get_annotations(0, "object", "videolist", "generic_comment", "", 0, 4, 0, "desc"); +$area3 .= elgg_view('annotation/latest_comments', array('comments' => $comments)); + + // Get objects $area2 = elgg_list_entities(array('types' => 'object', 'subtypes' => 'videolist', 'container_guids' => page_owner(), 'limit' => 10)); |