Skip to content

fractaslabs/silverstripe-cookie-policy-notification

SilverStripe Cookie Policy Notification Module

Latest Stable Version Latest Unstable Version Total Downloads License

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. Cookie Policy Admin

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

GitHub Issue Tracker

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