Exploring MODx From the Inside: System Events

System Events

For the most part, the events' naming convention makes it pretty clear at what point they are invoked. However, the events used in the parser itself are worth taking a closer look at.

System events are registered with the system_eventnames table. A developer creating a module or snippet that uses events can add its events to the database, providing users with checkboxes along with the rest of the registered System Events so they can use your events in a plugin. An example of this would be the WebLogin snippet.

Comment On This Article

Do you find something unclear? Did I miss something or get something wrong? What do you like or not like about this chapter? Please do not ask for help here; use the forums if you need help.

If you have trouble reading the code, click on the code itself to generate a new random code.
Tue June 23, 2009, 01:54:14
This is great, thanks Susan!
Last Edit: June 02, 2010, 12:27:54 by guest