Provides the ability to quickly add a cross-site banner using a component.
Helpful for quick announcements that all website visitors must see. For small business, this is useful if an early closure due to weather or other reason. For larger businesses, this is useful if there a service outage or increased ticket wait times.
- Clone this repository into
plugins/albrightlabs/snowday-plugin
- Run the console command
php artisan october:migrate
- From the admin area, go to Settings > Snow Day Banner and configure the plugin
Run either of the following commands:
- From the project root, run
php artisan october:util git pull
- From the plugin root, run
git pull
You'll need to add the component 'Snow Day Banner' to your theme. It is recommended to add this to a theme's layout, but it can be added to a page if desired. You can have the component added without the banner displaying--the purpose is to enable/disable it from the settings.
- Enable the Snow Day Banner's visibility
- Set the Snow Day Banner to display after and/or before specific dates
- Manage the content of the banner (supports raw HTML; it's recommended to keep the banner simple)
- Set whether the banner can be hidden
- Add any custom CSS
- None at this time but please send suggestions to support@albrightlabs.com.