leepowelldev / Cookie-Bar

SilverStripe module for adding a 'Cookie notice' to comply with EU directive.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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"

About

SilverStripe module for adding a 'Cookie notice' to comply with EU directive.


Languages

Language:PHP 67.9%Language:JavaScript 21.7%Language:Scheme 10.5%