All Features
Security
UI/UX
System
Content
Business
Marketing
💬
Admin SettingsSystem
Flash Messages
Beautiful user feedback with Bootstrap 5 and Toastr support
Overview
Enhanced flash message system supporting multiple styles. Works with Bootstrap 5 alerts and Toastr notifications. Consistent API for success, error, warning, and info messages.
Design Considerations
UX patterns and visual design notes for this feature:
- •Success = green, Error = red, Warning = yellow, Info = blue
- •Toast position: top-right is standard
- •Auto-dismiss after 5 seconds, but stay on hover
- •Icons add quick visual recognition
Key Benefits
What makes this feature stand out:
- ✓Simple FlashHelper API
- ✓Bootstrap 5 and Toastr renderers
- ✓Consistent across application
- ✓Icon support included
Technical Note
FlashHelper::success('message') sets session flash. FlashWidget renders with configured style. Toastr requires JS asset bundle.
Helpers
FlashHelperConfiguration
Config Relationship Legend
⚙ DB overrides params.php🔗 DB related setting📋 DB stores value only
params.php Configuration
Config path: params['flashMessages']
params['features']['flashMessages'] => trueparams['flashMessages']['renderer'] => 'bootstrap5'params['flashMessages']['position'] => 'top-right'params['flashMessages']['duration'] => 5000params['flashMessages']['showIcons'] => trueNote: Flash messages are session-based, no DB storage. Configure appearance in params.php only.