carbon/notification

This package provides a tiny fusion helper for notifications.

1.3.0 2019-04-30 09:19 UTC

README

Latest Stable Version Total Downloads License GitHub forks GitHub stars GitHub watchers

Carbon.Notification Package for Neos CMS

This package provides a tiny fusion helper for notifications.

Carbon.Notification:Tag

Add a notification. type can be alert, warning (default), info or backend. You need to set content to get the notification show. Great for NodeTypes who need an input in the inspector.

Carbon.Notification:Backend

A variant from Carbon.Notification:Tag. This notification get only shown in the backend.

Carbon.Notification:Data

Add a notification to the backend view. You need to set content to get the notification show. This isreat for NodeTypes who need an input in the inspector. Add this prototype to data-carbon-alert, data-carbon-warning, data-carbon-info or data-carbon-backend to an element as attribute.

Installation

Most of the time you have to make small adjustments to a package (e.g. configuration in Settings.yaml). Because of that, it is important to add the corresponding package to the composer from your theme package. Mostly this is the site packages located under Packages/Sites/. To install it correctly go to your theme package (e.g.Packages/Sites/Foo.Bar) and run following command:

composer require carbon/notification --no-update

To install the package under Neos 2.* you have to enter

composer require "carbon/notification:^0.1" --no-update

The --no-update command prevent the automatic update of the dependencies. After the package was added to your theme composer.json, go back to the root of the Neos installation and run composer update. Et voilà! Your desired package is now installed correctly.

License

Licensed under MIT, see LICENSE