Simple & configurable SilverStripe plugin to notify users about cookie policies.*
- Milan Jelicanin [at] Fractas.com
- SilverStripe CMS 4
- SilverStripe Framework 4
The master branch of this module is currently aiming for SilverStripe 4.x compatibility
- 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.
- 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.
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.
See licence