fractaslabs / silverstripe-cookie-policy-notification
Simple and configurable SilverStripe module to notify users about cookie policies
Installs: 20
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 3
Forks: 9
Type:silverstripe-vendormodule
Requires
- silverstripe/cms: ^4.0 || ^5.0
- silverstripe/framework: ^4.0 || ^5.0
- silverstripe/vendor-plugin: ^1.0
Suggests
- fractas/googleanalytics: SilverStripe module that adds a ability to add multiple Google Analytics property IDs
README
Overview
Simple & configurable SilverStripe plugin to notify users about cookie policies.*
Maintainer Contacts
- Milan Jelicanin [at] Fractas.com
Requirements
- SilverStripe CMS 4
- SilverStripe Framework 4
Version info
The master branch of this module is currently aiming for SilverStripe 4.x compatibility
Installation Instructions
- Install via Composer
composer require "fractas/cookiepolicy" "^2.0"
- Visit yoursite.com/dev/build?flush=1 to rebuild the database.
- Visit yoursite.com/admin/settings/ and on Cookie Policy tab add a Content and Button text.
Usage with Fluent
- Install Fluent on your project
- Add to your YML configuration file an FluentExtension and these DB fields:
SilverStripe\SiteConfig\SiteConfig: extensions: - 'TractorCow\Fluent\Extension\FluentExtension' translate: - 'CookiePolicyButtonTitle' - 'CookiePolicyDescription'
- Visit yoursite.com/dev/build?flush=1 to rebuild the database.
Known Issues
Thanks
Thanks to carhartl for the jQuery Cookie plugin.
Thanks to prolificjones82 for the jQuery UK Cookie Policy Notice: A simple plugin to notify users you adhere to the UK's cookie policies.
Licence
See licence