Skip to content

andrelohmann/silverstripe-bootstrap_flash_message

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

silverstripe bootstrap flash message

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

About

Creating flash messages for the Bootstrap Theme

Resources

License

Stars

Watchers

Forks

Packages

No packages published