Hello,
I'm the administrator of a site running Elgg 5.1.12, and I've been asked to remove or hide the "All" tab in all content modules (pages, blog, files, etc.) so that only the "Mine" and "Friends" tabs are displayed.
Is it possible to do this in one go without having to modify all the modules individually?
Also, after removing the "All" tab, the tab that should be selected by default should be "Mine."
How can I do this in one go, without having to modify all the modules?
Thank you very much!
Best regards
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.
- Nikolai Shcherbin@rivervanrain

Nikolai Shcherbin - 0 likes
Now just edit MyPlugin\Menus\Filter.php file. In this example we have overridden this class.
- Juan Menéndez@menendezrocha

Juan Menéndez - 0 likes
You must log in to post replies.You need to unregister 'register', 'menu:filter:filter' event and register a new event in your custom plugin:
Thank you very much for your response.
I was hoping there was a single file ("filter.php", for example) that I could easily copy and modify.
I see the solution isn't as easy as I thought.
Thank you very much, again.
Best regards.