I may be wrong...for my understanding and test on elgg's api.
elgg_view_form is getting the form from the pre-defined from in the form/xxx.php file.... its kinda include once()...which is accessing other files in order to echo a form/forms...
so compare with the hard code form...isn't slower? especially when the form is getting lots other values and variables from database/other pages...
My current problem is, own defined form is not evern showing up in the page....somehow...not sure if there's any other requirement to use your own code other then the elgg one's.
As Matt said, using your own code won't yield any significant performance increases. In 100k interations you might see a few ms gain.
We'll need to see your code to understand why it's not showing up. Please use gist.github.com and post a link to that.
I think so
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