andrelohmann-silverstripe / bootstrap_flash_message
Create flash messages with bootstrap alert UI.
Installs: 901
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 3
Open Issues: 1
Type:silverstripe-module
Requires
- php: >=5.3.2
- composer/installers: *
This package is auto-updated.
Last update: 2024-10-29 05:04:40 UTC
README
Maintainers
- Andre Lohmann (Nickname: andrelohmann)
Requirements
Silverstripe 3.3.x
Introduction
Allow to create flash messages with bootstrap alert UI
Installation
Just install the module folder into your silverstripe root and add the following to your Template
<% include BootstrapFlashMessage %>
Usage
Inside your logic you can use set your Flashmessage the following way:
BootstrapFlashMessage::set('Your Message', 'TYPE');
Type can set to one of the following types:
success, info, warning, danger