6fdigital / silverstripe-cookieyes
An extension for SilverStripe for an easy installation of a CookieYes consent banner.
Installs: 181
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:silverstripe-vendormodule
Requires
- silverstripe/cms: ^4 | ^5
This package is auto-updated.
Last update: 2025-03-29 00:50:52 UTC
README
An extension for SilverStripe 4+ which allows displaying a Cookie Consent Banner from CookieYes
Requirements
SilverStripe >= 4
Installation
$ composer require 6fdigital/silverstripe-cookieyes
Then run dev/build
.
In your main Page.ss
template add the $CookieYes
variable between the <head></head>
tags.
Usage
After installation of the module, login to the cms and go to Settings
> CookieYes
. There you will find two fields:
Name | Description |
---|---|
Active | Whether to show the banner on the website or not |
Script | The installation code given by CookieYes |
Now you can save the settings and the consent banner will apppear on the pages of your websites.