Drop-in configurable notice about cookies
Open Issues: 1
This module provides a configurable notice about cookies, a link to a page about them and an 'accept' link to close the notice. It's based on the cookiebar module by Aram Balakjian & Steve Heyes, adapted to be cache-able.
- SilverStripe 4 or newer
Unpack and copy the cookiebar folder into your SilverStripe project (You can call the folder whatever you like).
Now add $CookieBar just before the closing body tag
... $CookieBar </body> ...
Run "dev/build" in your browser, for example: "http://www.mysite.com/dev/build?flush=all"
The included template uses bootstrap for its layout. In case the site theme does not use bootstrap, there's an optional 'sans-bs' CSS file to include which provides a fallback layout: