iqnection-modules/silverstripe-gdpr

IQnection SilverStripe GDPR 通知模块

0.0.1 2019-09-09 20:48 UTC

This package is auto-updated.

Last update: 2024-09-11 03:54:18 UTC


README

将 GDPR 通知添加到您的网站。

安装

composer require iqnection-modules/silverstripe-gdpr

设置

  • 将您的消息添加到网站设置中
  • 在模板底部(在关闭标签之前)添加 {$GDPRNotice}

配置

IQnection\GDPR\Control\GDPRController:
  gdpr_cookie_name: 'accepts_cookies'
  gdpr_cookie_lifetime: 365
  gdpr_cookie_value: 1