INFO: Version en.xModule type:

Editing an event

In the draft view for editing an event, you can define the corresponding actions to be taken when this event occurs. For example, you can set up logging or other actions (e-mail notification, etc.) for an event.

Events are available at system level, project level and directory level. Events are always processed first at directory level and then at project level. System events do not affect any project or directory functions and are fired depending on the respective event.

The events at directory level are explained below.

Editing an event - draft view
Editing an event - draft view

Operation

Within the 'Draft' tab, you can specify the PHP code that is to be executed as an action for the corresponding event. Enter this without the enclosing PHP tags(<?php ... ?>)!
Various code fragments are already offered by default in the right-hand column.

'Input field':

In this field, enter the PHP code that is to be executed as an action for the corresponding event.

'Macros / code examples':

By clicking on one of the macros in the right-hand column (predefined code fragments), the script code is written to the content window. If there is already source code in the content window, the corresponding code is added at the end.

Overview of possible events