From 832a0972233142dc069a56fd836506db9d88003a Mon Sep 17 00:00:00 2001 From: Pablo Martin Date: Sun, 21 Oct 2012 05:13:18 +0000 Subject: make the theme compatible with custom_index and custom_index_widgets. --- start.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'start.php') diff --git a/start.php b/start.php index 6260075..43d175f 100644 --- a/start.php +++ b/start.php @@ -14,6 +14,12 @@ function n1_theme_init() { elgg_extend_view('css/elgg', 'n1_theme/css'); elgg_extend_view('js/elgg', 'n1_theme/js'); elgg_extend_view('page/elements/title', 'n1_theme/header', 0); + // custom index widgets + foreach(array("custom_index", "edit_widgets", "index_2rbhh", "index_2rhhb", + "index", "index_2rbms", "index_2rmsb", + "index_1rsss", "index_2rbsm", "index_2rsmb") as $layout) { + elgg_extend_view('page/layouts/'.$layout, 'n1_theme/landing', 0); + } if (elgg_is_active_plugin('pages')) { // pages icon url override -- cgit v1.2.3