Hi
I want to make some modifications on profile save function (elgg_root_path/actions/profile/edit.php).
How can i do that without changing the core file ?
Thanks in advance
Nikos
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
- Unregister current action.
- Register new one.
- Or you can use action plugin_hooks (runs before the action) or event_hooks (runs during / after the action).
- nikos@nlyberakis
nikos - 0 likes
You must log in to post replies.Thanks for answer
I am not sure which action unregister. In profile edit form, the action of form is
<form method="post" action="http://localhost/elgg/action/profile/edit" class="elgg-form elgg-form-profile-edit">
So i should use elgg_unregister_action('profile/edit')?