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
- Host: GitHub
- URL: https://github.com/breadlesscode/neos-notification
- Owner: breadlesscode
- License: mit
- Created: 2017-11-14T14:31:57.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-24T12:14:49.000Z (over 8 years ago)
- Last Synced: 2024-11-28T18:20:12.352Z (over 1 year ago)
- Topics: fusion, neos-cms, neoscms, notifications
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NEOS notifications
[]()
[]()
[]()
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.