restruct/silverstripe-cookiebar

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

Drop-in configurable notice about cookies

Installs: 45

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 4

Forks: 0

Open Issues: 0

Type:silverstripe-vendormodule

2.0 2021-03-21 11:11 UTC

This package is auto-updated.

Last update: 2021-10-20 05:47:01 UTC


README

Overview

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.

Requirements

  • SilverStripe 4 or newer

Installation

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"