diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-14 21:22:58 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-14 21:22:58 +0000 |
commit | 202241825d11a2b7952e42a222857da90921bdca (patch) | |
tree | b7e88ed2834b768dce33f5ee030913503c1e4cec | |
parent | 65bd34af7528779c4f4cc3a7a49205377498115c (diff) | |
download | elgg-202241825d11a2b7952e42a222857da90921bdca.tar.gz elgg-202241825d11a2b7952e42a222857da90921bdca.tar.bz2 |
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
-rw-r--r-- | index.php | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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); } |