Hi guys,
Im trying to make my own plugin to modify the out put from "profile manager".
If you are using the "profile manager", it over write the default "profile".
In user's "Edit profile" page, for example: http://localhost/ELGG1818/profile/admin/edit , there's a "save" (with url: http://localhost/ELGG1818/action/profile/edit) button which will save any change user's made.
Im trying to locate the action file for that button, seems to me, the action should be defined at"/mod/profile_manager/actions/profile/edit.php" but I cant find it, it is not there. I also cant find this action been defined at the "start.php" file.
Anyone know that? any help is appreciated~!
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
- lifegamester@lifegamester
lifegamester - 0 likes
- Brett@brett.profitt
Brett - 0 likes
You must log in to post replies.First, please only post your question in one place. Posting it multiple places makes it difficult to track the conversation and help you. I've deleted the other thread.
If I remember right, the Profile Manager uses an action hook to save all of its extra data, so it doesn't override the action. This means you'll need to look at that hook instead of the action script. It should be defined in the profile manager's start.php file.
oops, sry about that.
thx for your update,
I just checked in the code, seems like the action was triggered by hook"profile_manager_profile_override"
but, I still do not see, how the "save" button is linked to that hook?
All actions emit hooks that plugins can assign handlers to. Check out the documentation: http://docs.elgg.org/wiki/Main_Page#Hooks_.2B_Events