From 202241825d11a2b7952e42a222857da90921bdca Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 14 Nov 2010 21:22:58 +0000 Subject: fixed bug where the front page wasn't being populated with the views git-svn-id: http://code.elgg.org/elgg/trunk@7316 36083f99-b078-4883-b0ff-0f9b5a30f544 --- index.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index 57cf290df..309225698 100644 --- a/index.php +++ b/index.php @@ -52,7 +52,11 @@ if (!elgg_trigger_plugin_hook('index', 'system', null, FALSE)) { // if drop-down login in header option not selected $login_box = elgg_view('account/login_box'); - $content = $title . $activity / $login_box; - $body = elgg_view_layout('one_column_with_sidebar', array('content' => $content)); + $content = $title . $activity; + $params = array( + 'content' => $content, + 'sidebar' => $login_box + ); + $body = elgg_view_layout('one_column_with_sidebar', $params); echo elgg_view_page(null, $body); } -- cgit v1.2.3