diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -30,8 +30,14 @@ if (!trigger_plugin_hook('index', 'system', null, FALSE)) { } */ + //Load the front page + $title = elgg_view_title(elgg_echo('content:latest')); + set_context('search'); + $offset = (int)get_input('offset', 0); + $content = elgg_list_registered_entities(array('limit' => 10, 'offset' => $offset, 'full_view' => FALSE, 'allowed_types' => array('object','group'))); + set_context('main'); global $autofeed; $autofeed = FALSE; - $content = elgg_view_layout('one_column_with_sidebar', $title, elgg_view('account/forms/login')); + $content .= elgg_view_layout('one_column_with_sidebar', $title, elgg_view('account/forms/login')); page_draw(null, $content); } |