diff options
author | Sem <sembrestels@riseup.net> | 2012-08-15 02:16:34 +0200 |
---|---|---|
committer | Sem <sembrestels@riseup.net> | 2012-08-15 02:16:34 +0200 |
commit | 9e2436181c785c741fb4705ee7b3c3069bf5f1c7 (patch) | |
tree | 7620463d53f94c3d6e8ff444e2ad7651bd828992 /start.php | |
parent | 405f0f8db9f72afed4c357a22c4dd99bea39c419 (diff) | |
download | saravea_theme-9e2436181c785c741fb4705ee7b3c3069bf5f1c7.tar.gz saravea_theme-9e2436181c785c741fb4705ee7b3c3069bf5f1c7.tar.bz2 |
Added landing page.
Diffstat (limited to 'start.php')
-rw-r--r-- | start.php | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -7,8 +7,16 @@ function n1_theme_init() { $item = new ElggMenuItem('site_logo', elgg_get_site_entity()->name, elgg_get_site_url());
elgg_register_menu_item('topbar', $item);
elgg_register_plugin_hook_handler('register', 'menu:topbar', 'n1_theme_topbar_menu');
+
+ elgg_register_plugin_hook_handler('index', 'system', 'n1_theme_front_page');
+ elgg_extend_view('css', 'n1_theme/css');
}
function n1_theme_topbar_menu($hook, $type, $returnvalue, $params){
//var_dump($returnvalue);exit();
}
+
+function n1_theme_front_page($hook, $type, $returnvalue, $params) {
+ include(elgg_get_plugins_path() . 'n1_theme/index.php');
+ return true;
+}
|