From 05129a184b2c88cf082ebf230a3dce7b6510ec8f Mon Sep 17 00:00:00 2001 From: Pete Harris Date: Tue, 30 Mar 2010 14:23:05 +0000 Subject: Further updates to VideoList UI. Search results styled to match new elgg list style. Videos from search now play in popup modal with screen greyed out. Individual video page now has edit and delete, breadcrumbs, latest comments etc.. --- index.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'index.php') diff --git a/index.php b/index.php index 04805cc18..1b94775d6 100644 --- a/index.php +++ b/index.php @@ -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)); -- cgit v1.2.3