diff options
author | Pablo Martin <caedes@sindominio.net> | 2012-10-21 05:13:18 +0000 |
---|---|---|
committer | root <root@migration.vz.lan> | 2012-10-21 05:13:33 +0000 |
commit | 832a0972233142dc069a56fd836506db9d88003a (patch) | |
tree | 69e654951c9f7326eabb619403a2cec839d76fde /start.php | |
parent | ddc8e975c3bbbd535fcaa1d2914e4f64ec270dde (diff) | |
download | saravea_theme-832a0972233142dc069a56fd836506db9d88003a.tar.gz saravea_theme-832a0972233142dc069a56fd836506db9d88003a.tar.bz2 |
make the theme compatible with custom_index and custom_index_widgets.
Diffstat (limited to 'start.php')
-rw-r--r-- | start.php | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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
|