SilverStripe module for adding a 'Cookie notice' to comply with EU directive.
PHP CSS Scheme
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
code
css
templates/Includes
README.md
_config.php

README.md

Cookiebar Module

Overview

This module provides a configurable notice about cookies, a link to a page about them and an 'accept' link to close the notice

Maintainer Contact

Requirements

  • SilverStripe 3 or newer (use 2.4 Branch for SS2.4)

Installation

Unpack and copy the cookiebar folder into your SilverStripe project (You can call the folder whatever you like).

Now add the include CookieBar.ss file at the top of your Page.ss template, just after like so:

...
<body>
<% include CookieBar %>
...

Run "dev/build" in your browser, for example: "http://www.mysite.com/dev/build?flush=all"