An open API service indexing awesome lists of open source software.

https://github.com/breadlesscode/neos-notification

Notifications in NEOS CMS
https://github.com/breadlesscode/neos-notification

fusion neos-cms neoscms notifications

Last synced: 4 months ago
JSON representation

Notifications in NEOS CMS

Awesome Lists containing this project

README

          

# NEOS notifications
[![Latest Stable Version](https://poser.pugx.org/breadlesscode/neos-notification/v/stable)]()
[![Downloads](https://img.shields.io/packagist/dt/breadlesscode/neos-notification.svg)]()
[![license](https://img.shields.io/github/license/breadlesscode/neos-notification.svg)]()

This package includes a notification component and a notification node type for the backend.

## Requirements
- NEOS >=3.3

## Installation
```
composer require breadlesscode/neos-notification
```
## Configuration
```yaml
Breadlesscode:
Notification:
classes:
base: 'alert' # if you only set base class, BEM naming is used
content: 'alert-content'
info: 'alert-info'
warning: 'alert-warning'
danger: 'alert-danger'
```
## Usage
You can use the component like this in fusion:
```
notification = Breadlesscode.Notification:NotificationComponent {
onlyRenderInBackend = ${ false }
type = 'info'
content 'Hello world'
# and you can override the class configuration
baseClass = 'notification' # for BEM naming
# if you dont want BEM naming you can set each class manually
contentClass = 'notification__content'
containerClass = 'notification'
}
```

## License
The MIT License (MIT). Please see [License File](LICENSE) for more information.