You are here: Home » How CMSMS Works » Events Manager

Events Manager

Events are new powerfull way of assigning actions to events. For example if you would like to send email to site administrator when new file is uploaded or new page is created by another user you could add some code to those events to be executed when that event happens.

In brief here's how it works:

a) A module, or the core, can register, and then Send Events such as "newNews", or "newFronteEndUser" or "fileUploaded", "editPage", etc, etc, etc. there's some 50 events in the core at the moment, and then uploads and frontend users have been configured to send events, I still have to do selfreg, etc, etc, etc.

b) there are pages in the admin to allow you to specify which modules, and/or user tags should handle those events, and the order that each of those handlers should be called in.

c) if one of the handlers of an event is a module, then.... the modules DoEvent method is called with the name of the event, and whatever data it wants to send. Each triggered event needs to be documented, but as of this moment, most are.


Print this page

Αγόρασε

  • PW150
  • PW400
  • PW600
  • Blog
  • Eshop
  • CMS

Πούλησε

  • Φιλοξενία
  • Domain names
  • OutSourced service

Δίκτυα

Υπηρεσίες