Event types explained

Plugins are executed when an event is triggered, so, in order to start developing our App-Insights extension for Joomla, we need to figure out where and when we want to trigger it.

In the link below we can find more information about plugins, how they work and so on. This is something we learned from the previous post, Joomla plugin example. However, this example offers information about the different types of events available and a brief description of them.

In the current sprint, my task is to find an equivalent in Joomla of wp_head function in WordPress. In WordPress, that hook is triggered when the header of the page is loaded. I would translate it to a System type of event because they are triggered during the execution cycle on Joomla. More specifically, I would say we should use the onAfterInitialise event, which is the first event to be triggered.

Of course, this is an early opinion and should be analyzed in more detail. That’s why I’m sharing the link of the example, expecting you to comment your thoughts about this:

<a href=”http://almlatam.net/?p=99″ title=”Joomla plugin example” target=”_blank”>Joomla plugin example</a>

One thought on “Event types explained”

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>