nswdpc / silverstripe-notices
Simple notices administration
Package info
github.com/nswdpc/silverstripe-notices
Type:silverstripe-vendormodule
pkg:composer/nswdpc/silverstripe-notices
Requires
Requires (Dev)
- cambis/silverstan: ^2
- cambis/silverstripe-rector: ^2
- friendsofphp/php-cs-fixer: ^3
- nswdpc/ci-files: dev-v-4
- phpstan/phpstan: ^2
- phpstan/phpstan-phpunit: ^2
- phpunit/phpunit: ^11.5
- rector/rector: ^2
Suggests
- nswdpc/silverstripe-schema-specialannouncement: Related - schema.org SpecialAnnouncement module
This package is auto-updated.
Last update: 2026-07-27 07:09:37 UTC
README
Simple, unopinionated, module to store notices for use by a project.
Options
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)
Permissions
The module adds permissions for view/add/edit/delete
Template
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.
Installation
composer require nswdpc/silverstripe-notices
License
Documentation
Once installed, a "Notices" admin link will be available.
Configuration
None
Maintainers
- PD Web Team
Bugtracker
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.
Security
If you have found a security issue with this module, please email digital[@]dpc.nsw.gov.au in the first instance, detailing your findings.
Development and contribution
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.