diff options
author | Pete Harris <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-29 14:05:02 +0000 |
---|---|---|
committer | Pete Harris <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-29 14:05:02 +0000 |
commit | 1db604a22672b06fd95e60328a16d5045ca9465c (patch) | |
tree | 39467f70524855fe357bf07dc40447b8b9b11ea8 /world.php | |
parent | 52255de580654f351205b19565be601bd4caaacb (diff) | |
download | elgg-1db604a22672b06fd95e60328a16d5045ca9465c.tar.gz elgg-1db604a22672b06fd95e60328a16d5045ca9465c.tar.bz2 |
Updated VideoList deprecated functions, and removed namespace clash in error messages.
Diffstat (limited to 'world.php')
-rw-r--r-- | world.php | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -26,9 +26,7 @@ $title = sprintf(elgg_echo("videolist:search")); // Get objects $area2 = elgg_view_title($title); set_input('show_viewtype', 'all'); -$area2 .= list_entities("object","videolist", 0, 10, $fullview=true, $viewtypetoggle=false,$pagination=true); - -//$area2 .= elgg_view("staticvideo/index"); +$area2 .= elgg_list_entities(array('types' => 'object', 'subtypes' => 'videolist', 'container_guids' => page_owner(), 'limit' => 10, 'full_view' => TRUE, 'view_type_toggle' => FALSE, 'pagination' => TRUE)); set_context('videolist'); $body = elgg_view_layout('one_column_with_sidebar',$area1. $area2); |