Download the PHP package i-lateral/silverstripe-systemmessages without Composer

On this page you can find all versions of the php package i-lateral/silverstripe-systemmessages. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package silverstripe-systemmessages

Silverstripe System Messages Module

Build Status Latest Stable Version Total Downloads License

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.

Author

This module was created by i-lateral.

Installation

Preferable you should installl this via composer using:

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

Alternativley install this module by downloading and adding to:

[silverstripe-root]/systemmessages

Then run:

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

Or:

# sake dev/build flush=1

Usage

Once installed, you must add the template variable:

$SystemMessages.RenderedMessage

to any templates you require messages to appear on.

You can manage messages in the admin area using the "Messages" tab.

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.

config.yml

SystemMessages:
  use_default_js: false

_config.php

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.

To enable modal auto opening on load, change the use_bootstrap config variable:

config.yml

SystemMessages:
  use_bootstrap: true

_config.php

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

All versions of silverstripe-systemmessages with dependencies

PHP Build Version
Package Version
Requires silverstripe/framework Version ^4.1
gorriecoe/silverstripe-linkfield Version ^1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package i-lateral/silverstripe-systemmessages contains the following files

Loading the files please wait ....