From dd489f623628930e527e8112142576bb0de24b57 Mon Sep 17 00:00:00 2001 From: Pete Harris Date: Mon, 29 Mar 2010 16:59:14 +0000 Subject: Beginnings of updating VideoList to v1.8 interface, edit, delete, favorite added. Amongst other updates Friends view and breadcrumbs added. --- all.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'all.php') diff --git a/all.php b/all.php index 263702f61..c1be98767 100644 --- a/all.php +++ b/all.php @@ -24,12 +24,14 @@ if ($page_owner === false || is_null($page_owner)) { $title = sprintf(elgg_echo("videolist:search")); // Get objects -$area2 = elgg_view_title($title); +$area1 = elgg_view('page_elements/content_header', array('context' => "everyone", 'type' => 'videolist')); set_input('show_viewtype', 'all'); -$area2 .= elgg_list_entities(array('types' => 'object', 'subtypes' => 'videolist', 'container_guids' => page_owner(), 'limit' => 10, 'full_view' => TRUE, 'view_type_toggle' => FALSE, 'pagination' => TRUE)); +$area2 .= elgg_list_entities(array('types' => 'object', 'subtypes' => 'videolist', 'limit' => 10, 'full_view' => TRUE, 'view_type_toggle' => FALSE, 'pagination' => TRUE)); +// include a view for plugins to extend +$area3 .= elgg_view("videolist/sidebar", array("object_type" => 'videolist')); set_context('videolist'); -$body = elgg_view_layout('one_column_with_sidebar',$area1. $area2); +$body = elgg_view_layout('one_column_with_sidebar', $area1.$area2, $area3); // Finally draw the page page_draw($title, $body); \ No newline at end of file -- cgit v1.2.3