I am simply unable to remove the menu items from the entity menu. I want to remove the access, like and delete menus from the blog-listings(example.com/blog/all) to show up. I only need blog title, sub-text, excerpt and the entity-menu(without access, like and delete) on the blog listing page. The following line of code does't worked for me
elgg_unregister_menu_item('menu:entity', 'access');
I know this is very simple but i am unable to find any solution no this. please guide me to the right way. Thanks .
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
- Sachin@sathkur
Sachin - 0 likes
You must log in to post replies.On all site
For Likes
For Delete and Access
On Blogs only
Another way:
Thanks @rivervanrain for taking time, much appreciated. I have just made this to work. The 2nd approach worked for me. Thanks a lot .