Elgg version : 2.0.1
Hi.
I would like to know how to hide the more tab menu ? I 've tried this hook but it doesn't work :
elgg_unregister_menu_item('prepare', 'menu:site', 'elgg_site_menu_setup');
Thank you.
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
and about the "manifest" this is my version 1.8 and 1.10
It's ok like this
I am using this code since elgg 1.8 so I don't think that would be a problem for any of the version. Just change the mainfest.xml from
to 1.8 like this
i tested the code and it broke my site. troubleshooting now
which elgg version are you using?
1.9.7
@bliggity what's your error log telling you?
elgg_register_event_handler('init','system','disable_more_init'); function disable_more_init(){ elgg_unregister_plugin_hook_handler('prepare', 'menu:site', '_elgg_site_menu_setup'); }
In start.php you would need a
<?php
in the first line for the code to be recognized as php code (just in case you pasted just the example code in start.php).
Nada a fazer. Ele diz que foi perdido arquivo 'star.php'
e em que plugin? Eu tenho que fazê-lo trabalhar na minha versão 1.10 ??
https://elgg.org/plugins/805369
- Previous
- 1
- 2
- Next
You must log in to post replies.