定制 novatio/gdpr-cookiepolicy 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

novatio/gdpr-cookiepolicy

Composer 安装命令:

composer require novatio/gdpr-cookiepolicy

包简介

SilverStripe GDPR Cookie Policy Module

README 文档

README

Fully configurable SilverStripe plugin to notify users about (GDRP) cookie policies.

Requirements

  • SilverStripe 3

Installation instructions

  • Install via composer: composer require novatio/gdpr-cookiepolicy.
  • Visit yoursite.com/dev/build?flush=1 to rebuild the database.
  • Visit yoursite.com/admin/settings/, navigate to the Cookie Policy-tab and customize the look and feel of the Cookie Policy to your liking.

Usage instructions

You can choose to let the module do all the work for you (by placing all [tracker]scripts that you need in Google Tag Manager) and conditionally loading GTM and / or use available functions to load or bypass scripts in models, controllers and/or templates.

To conditionally load scripts in templates:

    <% if $CookiePolicyAccepted %>
    	<%-- some templating. --%>
    <% end_if %>

To conditionally load scripts in code:

    if (CookiePolicy::accepted()) {
        // some code.
    }

Known Issues

GitHub Issue Tracker

Thanks

This module is based on fractaslabs/silverstripe-cookie-policy-notification and adapted to be more customisable and to be more compliant with the strict new GDRP rules. Thanks to Milan Jelicanin & Petar Simic.

Thanks to carhartl for the jQuery Cookie plugin.

Thanks to prolificjones82 for the jQuery UK Cookie Policy Notice: A simple plugin to notify users you adhere to the UK's cookie policies.

Licence

See licence

统计信息

  • 总下载量: 212
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 2
  • Forks: 2
  • 开发语言: JavaScript

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2018-05-08

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固