I want to control which modules are shown in the group but can not find the view that show the element <li>
In groups/profile/module.php the <li> element is created with the content of the module.
Then we have groups/profile/widgets.php that show the <ul> element which calls the groups/tool_latest view, where I understand the loop is created getting the group_module of the entities.
I could remove the extension plugins in the view from the start.php. But I don't want edit those plugins. I want to control which modules to display or not from a view or action from my theme.
Another alternative is to overwrite all group_module and comment views, but I think it's a bit incorrect.
Where is tool_latest? :) Any ideas?
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.
- Team Webgalli@webgalli
Team Webgalli - 0 likes
- Jon Esteban@jon_otsogorrigaina
Jon Esteban - 0 likes
You must log in to post replies.This is one of the advantages of Elgg. To extend a view, it is not necessary that the view exists really.
If your need is to remove some group modules, then use the remove_group_tool_option() API.
Thanks for your answer, but this function doesn't delete the group module views, but group options.
I make this (I have not found another way to do this :D):
And in start.php