Events are a new powerful way of assigning actions to events. For example if you would like to send an email to the site administrator when a new file is uploaded or a 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, We 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.



020 7237 6805

Main Repair Centre

Creative IT London

80 Willow Walk, Unit 1
London, SE1 5SY

020 7237 6805

info@creativeit.tv

Opening Hours 9am to 6pm
Monday to Saturday

020 8658 4366

Beckenham

Creative IT Beckenham

Appointment only

21 Village Way
Beckenham, BR3 3NA

020 8658 4366