Skip to content

Instantly share code, notes, and snippets.

@proweb
Created November 20, 2013 19:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save proweb/7569640 to your computer and use it in GitHub Desktop.
Save proweb/7569640 to your computer and use it in GitHub Desktop.
Joomla plugin event triggers
Each plugin type has its own set of events that trigger these plugins to execute. Each plugin can use one or more event triggers but there is no need to use all the event triggers available, just pick out the ones you need. You also have the freedom to create your own custom plugin event triggers in your components, however, that is also outside the scope of this book. The following table summarizes the types of plugins available and their respective event triggers:
Plugin type Event trigger
Authentication onUserAuthenticate
onUserAuthorisationFailure
Captcha onCheckAnswer
onDisplay
onInit
Content onContentAfterDelete
onContentAfterDisplay
onContentAfterSave
onContentAfterTitle
onContentBeforeDelete
onContentBeforeDisplay
onContentBeforeSave
onContentChangeState
onContentPrepare
onContentPrepareData
onContentPrepareForm
onContentSearch
onContentSearchAreas
Editors onDisplay
onGetContent
onGetInsertMethod
onInit
onSave
onSetContent
Editors-XTD onDisplay
Extension onExtensionAfterInstall
onExtensionAfterSave
onExtensionAfterUninstall
onExtensionAfterUpdate
onExtensionBeforeInstall
onExtensionBeforeSave
onExtensionBeforeUninstall
onExtensionBeforeUpdate
Quick Icons onGetIcons
Search onContentSearchAreas
onContentSearch
Smart Search onFinderAfterDelete
onFinderAfterSave
onFinderBeforeSave
onFinderCategoryChangeState
onFinderChangeState
System onAfterDispatch
onAfterInitialise
onAfterRender
onAfterRoute
User onUserAfterDelete
onUserAfterSave
onUserBeforeDelete
onUserBeforeSave
onUserLogin
onUserLogout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment