2017 © Pedro Peláez
 

silverstripe-module silverstripe-systemmessages

Add popup notification messages to a Silverstripe site

image

i-lateral/silverstripe-systemmessages

Add popup notification messages to a Silverstripe site

  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 7 Versions
  • 0 % Grown

The README.md

Silverstripe System Messages Module

Build Status Latest Stable Version Total Downloads License, (*1)

Module for the Silverstripe CMS that adds content manageable messages to a site (that can be closed by via a user) via a template variable., (*2)

Author

This module was created by i-lateral., (*3)

Installation

Preferable you should installl this via composer using:, (*4)

# composer require "i-lateral/silverstripe-systemmessages:0.*"

Alternativley install this module by downloading and adding to:, (*5)

[silverstripe-root]/systemmessages, (*6)

Then run:, (*7)

http://yoursiteurl.com/dev/build/?flush=1

Or:, (*8)

# sake dev/build flush=1

Usage

Once installed, you must add the template variable:, (*9)

$SystemMessages.RenderedMessage

to any templates you require messages to appear on., (*10)

You can manage messages in the admin area using the "Messages" tab., (*11)

Built in JS libs

By default, system messages uses lightbox_me for modal messages. This can be disabled in the config for using your own jquery, disabling this will give the message the default bootstrap modal classes., (*12)

config.yml, (*13)

SystemMessages:
  use_default_js: false

_config.php, (*14)

SystemMessages::config()->use_default_js = false;

Bootstrap support

All HTML uses bootstrap class names as well as custom system message ones but the modal box will not auto open on load., (*15)

To enable modal auto opening on load, change the use_bootstrap config variable:, (*16)

config.yml, (*17)

SystemMessages:
  use_bootstrap: true

_config.php, (*18)

SystemMessages::config()->use_bootstrap = true;

The Versions

22/12 2017

dev-master

9999999-dev http://github.com/i-lateral/silverstripe-systemmessages

Add popup notification messages to a Silverstripe site

  Sources   Download

BSD-3-Clause

The Requires

 

messages silverstripe notifications

20/12 2017

1.0.1

1.0.1.0 http://github.com/i-lateral/silverstripe-systemmessages

Add popup notification messages to a Silverstripe site

  Sources   Download

BSD-3-Clause

The Requires

 

messages silverstripe notifications

20/12 2017

1.0.0

1.0.0.0 http://github.com/i-lateral/silverstripe-systemmessages

Add popup notification messages to a Silverstripe site

  Sources   Download

BSD-3-Clause

The Requires

 

messages silverstripe notifications

11/12 2017

0.4

0.4.0.0 http://github.com/i-lateral/silverstripe-systemmessages

Add popup notification messages to a Silverstripe site

  Sources   Download

BSD-3-Clause

The Requires

 

messages silverstripe notifications

29/03 2017

0.3

0.3.0.0 http://github.com/i-lateral/silverstripe-systemmessages

Add popup notification messages to a Silverstripe site

  Sources   Download

BSD-3-Clause

The Requires

 

messages silverstripe notifications

10/08 2016

0.2

0.2.0.0 http://github.com/i-lateral/silverstripe-systemmessages

Add popup notification messages to a Silverstripe site

  Sources   Download

BSD-3-Clause

The Requires

 

messages silverstripe notifications

09/08 2016

0.1

0.1.0.0 http://github.com/i-lateral/silverstripe-systemmessages

Add popup notification messages to a Silverstripe site

  Sources   Download

BSD-3-Clause

The Requires

 

messages silverstripe notifications