From ab10e3ac5a0b5bbc6cd08c7647a0123364db72f3 Mon Sep 17 00:00:00 2001 From: cash Date: Fri, 3 Dec 2010 02:55:03 +0000 Subject: preview of what the main content area looks like with a module approach git-svn-id: http://code.elgg.org/elgg/trunk@7509 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/blog/start.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'mod/blog/start.php') diff --git a/mod/blog/start.php b/mod/blog/start.php index 62f963b4b..b279de1a3 100644 --- a/mod/blog/start.php +++ b/mod/blog/start.php @@ -153,7 +153,12 @@ function blog_page_handler($page) { 'page' => isset($page[1]) ? $page[1] : FALSE, )); - $content = elgg_view('navigation/breadcrumbs') . $content_info['content']; + $content = elgg_view('navigation/breadcrumbs'); + $params = array( + 'header' => $content_info['header'], + 'body' => $content_info['body'], + ); + $content .= elgg_view('page_elements/main_module', $params); $params = array( 'content' => $content, -- cgit v1.2.3