Mambots / Plugins events - Eventchart all available triggers for Joomla, Mambo and Joomla 1.5
- Details
- Written by Super User
Since Mambo the infamous mambots did the hidden dirty work on the developers behalf. There are several flavours of Mambots (Plugins) : System, editor, content. Each must register one or more functions hooked on several system events. We tried to find a chart of these events and the availability in the several distributions out there, but we could not find any. We sistematizated the events for the three major releases (Mambo 4.6.2, Joomla 1.0.15, Joomla 1.5.2)
|
Event Name |
Where does it trigger |
Explanation |
Mambo |
Joomla 1.0.x |
Joomla 1.5.x |
|
onStart |
Index.php |
Triggers before any component , before SEF, but after loading of configuration and database and mainframe initialization. $mainframe is NOT initialized.$Itemid, $option and $task are not initialized. No language file is loaded. $my is not loaded. |
No |
Yes |
No |
|
onAfterInitialise |
Index.php |
Triggers before any component , before SEF, but after loading of configuration and database and mainframe initialization. $mainframe is NOT initialized.$Itemid, $option and $task are not initialized. No language file is loaded. $my is not loaded. |
No |
No |
Yes |
|
onAfterStart |
Index.php |
Triggers after frontend, sef and mainframe initialization. No language file is loaded. $my is not loaded. |
No |
Yes |
No |
|
onAfterRoute |
Index.php |
Triggers afer sef kicks in |
No |
No |
Yes |
|
onAfterDispatch |
Index.php |
Triggers after the mainframe dispatches |
No |
No |
Yes |
|
onAfterRender |
Index.php |
Triggers after the mainframe renders the application |
No |
No |
Yes |
|
requiredLogin |
includes\authenticator.php |
Triggers on login request |
Yes |
No |
No |
|
goodLogin |
includes\authenticator.php |
Triggers on successful login |
Yes |
No |
No |
|
badLogin |
includes\authenticator.php |
Triggers on failed Login attempt |
Yes |
No |
No |
|
beforeLogout |
includes\authenticator.php |
Triggers on logout request |
Yes |
No |
No |
|
onHeaders |
includes\core.classes.php |
Triggers before headers are sent |
Yes |
No |
No |
|
afterTemplate |
index.php |
Triggers after the template is loaded |
Yes |
No |
No |
|
preDelete |
com_containers\admin.containers.php |
Triggers before deleting containers |
Yes |
No |
No |
|
onLoginUser |
Application.php |
Triggers on alogin attempt |
No |
No |
Yes |
|
onLoginFailure |
Application.php |
Triggers after a failed login attempt |
No |
No |
Yes |
|
onLogoutUser |
Application.php |
Triggers on a logout request |
No |
No |
Yes |
|
onLogoutFailure |
Application.php |
Triggers on a logout failture |
No |
No |
Yes |
|
onBeforeStoreUser |
com_user\models\reset.php |
Triggers before userdetails are stored |
No |
No |
Yes |
|
onAfterStoreUser |
com_user\models\reset.php |
Triggers after userdetails are stored |
No |
No |
Yes |
|
onBeforeDeleteUser |
libraries\joomla\user\user.php |
Triggers before a user is deleted |
No |
No |
Yes |
|
onAfterDeleteUser |
libraries\joomla\user\user.php |
Triggers before a user is deleted |
No |
No |
Yes |
|
userChange |
com_users\admin.users.php com_registration\registration.php |
Triggers on changing user details |
Yes |
No |
No |
|
userBlock |
com_users\admin.users.php |
Triggers on Blocking an user |
Yes |
No |
No |
|
userUnblock |
com_users\admin.users.php |
Triggers on unblocking an user |
Yes |
No |
No |
|
userRegister |
com_users\admin.users.php com_registration\registration.php |
Triggers on user registration |
Yes |
No |
No |
|
userActivate |
com_users\admin.users.php com_registration\registration.php |
Triggers on user Activation |
Yes |
No |
No |
|
userDelete |
com_users\admin.users.php |
Triggers on user Deletion |
Yes |
No |
No |
|
onPrepareContent |
content.html.php frontend.html.php |
Triggers before the content is shown. Triggers in modules too |
Yes |
Yes |
Yes |
|
onAfterDisplayTitle |
content.html.php |
Triggers after the content title is displayed and only if the content is NOT intro only. It displays wht the function returns |
Yes |
Yes |
Yes |
|
onBeforeDisplayContent |
content.html.php frontend.html.php |
Triggers after the content title is displayed. It displays wht the function returns |
Yes |
Yes |
Yes |
|
onAfterDisplayContent |
content.html.php frontend.html.php |
Triggers after the content is displayed. It displays wht the function returns |
Yes |
Yes |
Yes |
|
onValidateContact |
com_contact\controller.php |
Triggers on contact submission, result should contain the validation errors |
No |
No |
Yes |
|
onSubmitContact |
com_contact\controller.php |
Triggers on contact submission |
No |
No |
Yes |
|
onSearch |
search.php |
Triggers before the search is performed |
Yes |
Yes |
Yes |
|
onSearchAreas |
com_search\models\search.php |
Triggers to get the Search areas |
No |
No |
Yes |
|
onGetWebServices |
xmlrpc\index.php |
Triggers on a RPC call |
No |
No |
Yes |
|
onCustomEditorButton |
tinymce_exp.php tinymce.php |
Triggers in Tinymce on display of the toolbar. The expected result is array(‘button_image.jpg’,’htmlcode’) |
Yes |
Yes |
No |
|
onInitEditor |
editor.php |
Triggers in order to initialize WYSIWYG editors |
Yes |
Yes |
No |
|
onGetEditorContents |
editor.php |
Triggers in order to get the JS needed to submit the content |
Yes |
Yes |
No |
|
onEditorArea |
editor.php |
Triggers to display the Editor Area |
Yes |
Yes |
No |
|
onSefStart |
joomsef.php |
Triggers before a sefRelToAbs is performed |
Artio |
||
|
onSefEnd |
joomsef.php |
Triggers after a sefRelToAbs is performed |
Artio |
||
|
onSefLoad |
sef.php |
Triggers on start of the sef component |
Artio |
||
|
onSefUnload |
sef.php |
Triggers on end of the sef component |
Artio |
||
|
beforeHead |
joomsef_metabot.php |
Triggers before HTML header is build |
Artio |
||