Simple, unopinionated, module to store notices for use by a project.
A notice contains:
- A title, with 'show title' option
- Some content (not HTML)
- A link
- A auto dismiss value (seconds)
- A site-wide option (one allowed)
- An active option (enabled)
The module adds permissions for view/add/edit/delete
The module ships a basic meta
template, nominally for testing purposes.
Override this template in your project to provide your own notice layout based on the notice options.
composer require nswdpc/silverstripe-notices
Once installed, a "Notices" admin link will be available.
None
We welcome bug reports, pull requests and feature requests on the Github Issue tracker for this project.
Please review the code of conduct prior to opening a new issue.
If you have found a security issue with this module, please email digital[@]dpc.nsw.gov.au in the first instance, detailing your findings.
If you would like to make contributions to the module please ensure you raise a pull request and discuss with the module maintainers.
Please review the code of conduct prior to completing a pull request.