The Flash Message (li3_flash_message) plugin provides a straightforward interface for displaying status messages to the user.
Add the plugin to
Make sure you have set up a
default session configuration in
use li3_flash_message\extensions\storage\FlashMessage; // ... some form validation logic ... FlashMessage::write('Error, please check your inputs!');
Use the helper to output messages inside your views.
In order to customize the output, copy
app/views/elements/flash_message.html.php and adjust it to your needs.
For now please refer to the documented source or the test cases.