Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
SilverStripe module for adding a 'Cookie notice' to comply with EU directive.
PHP CSS Scheme
Branch: 2.4
Pull request Compare This branch is 12 commits behind master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

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 2.4.1 or newer

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"

To see the module in action visit http://www.aabweb.co.uk

Something went wrong with that request. Please try again.