obisconcept / neos-cookieconsent
Neos CMS 的 Cookie Consent 集成。
v2.0.2
2018-05-05 10:23 UTC
Requires
- neos/neos: ^3.0.0
This package is auto-updated.
Last update: 2024-09-11 21:52:06 UTC
README
一个集成了 Cookie Consent 的 Neos CMS 包。
安装
通过 composer 安装它
$ composer require obisconcept/neos-cookieconsent
使用方法
您只需要通过您本地的 Settings.yaml
配置插件。以下是一些可用的选项
ObisConcept: CookieConsent: enable: true # Wether to enable the notice. includeJavaScript: true # Auto-include cookieconsent's javascript file. includeCss: true # Auto-include cookieconsent's stylesheet file. policyPageNode: '' # The page identifier of your privacy statement. translations: # Change the translation source for custom texts. package: 'ObisConcept.CookieConsent' source: 'Main' position: 'bottom' # The position of the notice. Possible Values: # "bottom", "bottom-left", "bottom-right", "top" theme: 'block' # The theme of the notice. Possible Values: # "block", "classic", "edgeless", "wire" palette: popup: background: '#000' # The background color and text: '#fff' # the text color of the notice box button: background: '#f1d600' # The background color and text: '#000' # the text color of the dismiss-button