Dynamic Action Plugin using OpenSource JS framework "toastr" to display notifications. This plugin can be used to display info, success, warning or error messages. (https://github.com/CodeSeven/toastr)
- Import plugin file "dynamic_action_plugin_de_danielh_toastrnotifications.sql" from source directory into your application
- (Optional) Deploy the CSS/JS files from "server" directory on your webserver and change the "File Prefix" to webservers folder.
The plugin settings are highly customizable and you can change:
- Type: Info / Success / Warn / Error (different colors)
- Text: the notification text
- Position (Top Right, Bottom Right, Top Left, Bottom Left, Top Full Width, Bottom Full Width)
- Newest on Top: Display newest notification on top
- Progress Bar: Show a progress bar to visualize the time when a notification disappears.
- Prevent Duplicates: Block notifications with the same text/content to display multiple times.
- Timeout: How long the toast will display without user interaction (in ms). A value of 0 makes a sticky notification.
- Extended Timeout: How long the toast will display after a user hovers over it (in ms).
Create a new Dynamic Action with event "on load" or on "Button --> Click". As Action choose "toastr Notifications".