summaryrefslogtreecommitdiff
path: root/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'start.php')
-rw-r--r--start.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/start.php b/start.php
index f907d17..7346702 100644
--- a/start.php
+++ b/start.php
@@ -3,4 +3,12 @@
elgg_register_event_handler('init', 'system', 'n1_theme_init');
function n1_theme_init() {
+ elgg_unregister_menu_item('topbar','elgg_logo');
+ $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');
+}
+
+function n1_theme_topbar_menu($hook, $type, $returnvalue, $params){
+ //var_dump($returnvalue);exit();
}