Customising Client Notices

When a client completes an action via the Client Zone, more often than not a notice is displayed on the screen to confirm that the action was completed.

Contract Signed Client Notice

To customise these messages, you need to hook into the mdjm_messages filter. Before doing so, you need the name of the messages you wish to customise. You can obtain this via your browsers address bar after completing an action (&mdjm_message=contract_signed for example), or from the file /includes/misc-functions.php. Search for theĀ mdjm_messages function.

Let’s go ahead and customise theĀ contract_signed message that is displayed above.

Now, when the client sign’s their contract, the notice they see on the screen will be displayed as;

Customised Contract Signed Client Notice

To change the style of the notice, you can adjust the class above to your own custom CSS class.