定制 pixelopen/kirby-cookie-consent 二次开发

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

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

pixelopen/kirby-cookie-consent

Composer 安装命令:

composer require pixelopen/kirby-cookie-consent

包简介

A plugin for Kirby CMS to handle RGPD and Cookie Gestion with the tarteaucitronjs script

README 文档

README

GitHub release (with filter)

Dependency

A plugin for Kirby CMS to handle cookie consent for the GDPR

Commercial Usage

This plugin is free

Installation

Download

Download the files and place them inside site/plugins/kirby-cookie-consent.

Composer

composer require pixelopen/kirby-cookie-consent

Git Submodule

You can add the plugin as a Git submodule.

$ cd your/project/root
$ git submodule add https://github.com/Pixel-Open/kirby-cookie-consent.git site/plugins/kirby-cookie-consent
$ git submodule update --init --recursive
$ git commit -am "Add Kirby Cookie Consent plugin"

Run these commands to update the plugin:

$ cd your/project/root
$ git submodule foreach git checkout master
$ git submodule foreach git pull
$ git commit -am "Update submodules"
$ git submodule update --init --recursive

Initialization

Run your website. Add the tabs tabs/cookie-consent to your site.yml blueprint. You should see a new tab named Cookie Consent in the homepage of the panel. From this page you can edit the settings of the cookie consent module.

Add the snippet cookie-consent to your header snippet to activate the plugin in the frontend.

The plugin functionnalities work well with Kirby 3 and 4. The plugin only handle 5 services for the moment. If you want to add more service, add the specific by yourself in the file snippets/cookie-services.php. All available services and their script can be found on the official tarteaucitron website

Options

You can fix a parameter to a specific value by adding it in the config : pixelopen.kirby-cookie-consent.[parameterName]

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-10-30