Skip to content

Instantly share code, notes, and snippets.

@brendo
Created May 10, 2011 10:52
Show Gist options
  • Save brendo/964265 to your computer and use it in GitHub Desktop.
Save brendo/964265 to your computer and use it in GitHub Desktop.
DelegateExecutionOrder

Requesting {$root}/page-one/

  • FrontendInitialised
  • FrontendPrePageResolve
  • FrontendPageResolved
  • FrontendParamsResolve
  • FrontendProcessEvents
  • EventPreSaveFilter (for each Event executed)
  • EventPostSaveFilter (for each Event executed)
  • EventFinalSaveFilter (for each Event executed)
  • FrontendEventPostProcess
  • DataSourceEntriesBuilt (for each Datasource executed)
  • FrontendParamsPostResolve
  • FrontendOutputPreGenerate
  • FrontendPreRenderHeaders
  • FrontendOutputPostGenerate

Building a basic Administration page

  • InitaliseAdminPageHead
  • ExtensionsAddToNavigation
  • NavigationPreRender
  • AppendElementBelowView
  • AddElementToFooter
  • AppendPageAlert
  • AdminPagePreGenerate
  • AdminPagePostGenerate
@michael-e
Copy link

It would be great to include the event filters:

  • EventPreSaveFilter
  • EventPostSaveFilter
  • EventFinalSaveFilter

@brendo
Copy link
Author

brendo commented May 23, 2011

Added, as well as the default Administration page order.

It's not 100% complete as Administration pages have their delegates depending on what page they are (ie. Section Editor has some delegates that Datasource Editor doesn't)

@nickdunn
Copy link

For page-specific delegates see the API docs :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment