summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Martin <caedes@sindominio.net>2012-10-21 05:13:18 +0000
committerroot <root@migration.vz.lan>2012-10-21 05:13:33 +0000
commit832a0972233142dc069a56fd836506db9d88003a (patch)
tree69e654951c9f7326eabb619403a2cec839d76fde
parentddc8e975c3bbbd535fcaa1d2914e4f64ec270dde (diff)
downloadsaravea_theme-832a0972233142dc069a56fd836506db9d88003a.tar.gz
saravea_theme-832a0972233142dc069a56fd836506db9d88003a.tar.bz2
make the theme compatible with custom_index and custom_index_widgets.
-rw-r--r--start.php6
1 files changed, 6 insertions, 0 deletions
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