Hi
i am desperately trying to find the action that is bound to the "Create a new group" button of the group plugin.
I am new in elgg and would have expected that he goes into an add.php defined in that plugin. but i see there is no such file and no entry like elgg_register_action("groups/edit", "$action_base/edit.php"); for the add url.
Also he does not go into the edit.php when i edit a group which i would expect because of elgg_register_action("groups/edit", "$action_base/edit.php");. Can anybody shed some light on this plz?
thx noise
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.
- Brett@brett.profitt

Brett - 0 likes
You must log in to post replies.Check out the files in mod/groups/actions directory for 1.7 and mod/groups/actions/groups/ for 1.8. Another way of finding the action name is to look at the add a group page's HTML and find the form action. You can then find the action file by using the inspect option on the developer's plugin or manually looking for elgg_register_action() like you did.
Actions are sometimes reused, so in this case the "edit" action is the one doing the saving for new groups, too.
FYI: In most of 1.8's plugins the action for both add and edit is called "save." Looks like groups didn't get this change for some reason.