This event will be called at the end of the page. Page_DataRendering
This event will be called after the header.php is included. You can use this event to add content at the top of page content.
Page_DataRendered
This event will be called before the footer.php is included. You can use this event to add content at the bottom of page content.
Page_Redirecting
This event will be called before redirecting to other page. Event argument is the URL to be redirected to.
By default user is redirected to the default page (e.g. index.php) after successful login. You can change that by using this event.
Message_Showing
This event is fired before the message stored in the session variable is shown. You can use this event to change the message which is passed to the event as argument.
User_LoggingIn
This event will be called before validating the username and password. User_LoggedIn
This event will be called after the user login. Form_CustomValidate
This event is fired after the normal form validation. You can use this event to do your own custom validation. Inspect the HTML source of the page in your browser to view the form element names.
An argument $CustomError is passed to the event, you can add your error message and return FALSE if the form values do not pass your validation.
User_LoginError
This event will be called if the user fail to login.
Other -> Logout Page Page_Load
This event will be called at the beginning of the page. Page_Unload
This event will be called at the end of the page. Page_Redirecting
This event will be called before redirecting to other page. Event argument is the URL to be redirected to.
By default user is redirected to the default page (e.g. index.php) after successful login. You can change that by using this event.
User_LoggingOut
This event will be called before user logout. User_LoggedOut
Other -> Registration Page
Page_Load
This event will be called at the beginning of the page.
Page_Render This event will be called before outputting HTML for the page. You can use this event to make some last minute changes to the page before it is outputted.
Page_Unload This event will be called at the end of the page.
Page_DataRendering This event will be called after the header.php is included. You can use this event to add content at the top of page content.
Page_DataRendered This event will be called before the footer.php is included. You can use this event to add content at the bottom of page content.
Page_Redirecting This event will be called before redirecting to other page. Event argument is the URL to be redirected to.
By default user is redirected to the default page (e.g. index.php) after successful login. You can change that by using this event.
Email_Sending This event is fired before the email notification is sent. You can customize the email content using this event. Email_Sending event has the following parameters:
Email - the email object instance which contain all the information about the email to be sent. It is an instance of the cEmail class (see below).
Args - an array which contains additional information. For registration page, the new record in the data type of a recordset can be accessed by $Args["rs"].
Return FALSE in the event if you want to cancel the email sending.
Message_Showing This event is fired before the message stored in the session variable is shown. You can use this event to change the message which is passed to the event as argument.
Form_CustomValidate This event is fired after the normal form validation. You can use this event to do your own custom validation. See description of Form_CustomValidate for Add/Copy page above.
User_Registered This event is fired after successful registration of a new user. Argument is a recordset of the new record in the user table.
User_Activated This event is fired after activating a new user (if user activation is required, see Security Settings). Argument is a recordset of the new record in the user table.
Other -> Change Password Page
Page_Load This event will be called at the beginning of the page.
Page_Render This event will be called before outputting HTML for the page. You can use this event to make some last minute changes to the page before it is outputted.
Page_DataRendering This event will be called after the header.php is included. You can use this event to add content at the top of page content.
This event will be called before the footer.php is included. You can use this event to add content at the bottom of page content.
Page_Redirecting
This event will be called before redirecting to other page. Event argument is the URL to be redirected to.
By default user is redirected to the default page (e.g. index.php) after successful login. You can change that by using this event.
Email_Sending
This event is fired before the email notification is sent. You can customize the email content using this event. Email_Sending event has the following parameters:
Email - the email object instance which contain all the information about the email to be sent. It is an instance of the cEmail class (see below).
Args - an array containing additional information. For Change Password page, the old data of the records in the data type of recordset can be accessed by $Args["rsold"], the new data of the records in the data type of recordset can be accessed by $Args["rsnew"].
Return FALSE in the event if you want to cancel the email sending.
Message_Showing This event is fired before the message stored in the session variable is shown. You can use this event to change the message which is passed to the event as argument.
Form_CustomValidate This event is fired after the normal form validation. You can use this event to do your own custom validation. Inspect the HTML source of the page in your browser to view the form element names.
An argument $CustomError is passed to the event, you can add your error message and return FALSE if the form values do not pass your validation.
Other -> Password Recovery Page
Page_Load This event will be called at the beginning of the page.
Page_Render This event will be called before outputting HTML for the page. You can use this event to make some last minute changes to the page before it is outputted.
Page_Unload This event will be called at the end of the page.
Page_DataRendering This event will be called after the header.php is included. You can use this event to add content at the top of page content.
Page_DataRendered This event will be called before the footer.php is included. You can use this event to add content at the bottom of page content.
Page_Redirecting This event will be called before redirecting to other page. Event argument is the URL to be redirected to.
By default user is redirected to the login page after successful login. You can change that by using this event.
Email_Sending This event is fired before the email notification is sent. You can customize the email content using this event. Email_Sending event has the following parameters:
Email - the email object instance which contain all the information about the email to be sent. It is an instance of the cEmail class (see below).
Args - an array containing additional information. For Password Recovery Page, the old data of the records in the data type of recordset can be accessed by $Args["rs"].
Return FALSE in the event if you want to cancel the email sending.
Message_Showing This event is fired before the message stored in the session variable is shown. You can use this event to change the message which is passed to the event as argument.
Form_CustomValidate This event is fired after the normal form validation. You can use this event to do your own custom validation. Inspect the HTML source of the page in your browser to view the form element names.
An argument $CustomError is passed to the event, you can add your error message and return FALSE if the form values do not pass your validation.
User_RecoverPassword This event is fired after the password is recovered. Argument is a recordset of the user's record in the user table.