6fdigital/silverstripe-cookieyes
Composer 安装命令:
composer require 6fdigital/silverstripe-cookieyes
包简介
An extension for SilverStripe for an easy installation of a CookieYes consent banner.
README 文档
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.
统计信息
- 总下载量: 252
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-01-26