adigital/cookie-consent-banner 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

adigital/cookie-consent-banner

最新稳定版本:3.1.1

Composer 安装命令:

composer require adigital/cookie-consent-banner

包简介

Add a configurable cookie consent banner to the website.

README 文档

README

Add a configurable cookie consent banner to the website.

Requirements

This plugin requires Craft CMS 4.0.0 or later.

Installation

To install the plugin, follow these instructions.

  1. Open your terminal and go to your Craft project:

     cd /path/to/project
    
  2. Then tell Composer to load the plugin:

     composer require adigital/cookie-consent-banner
    
  3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Cookie Consent Banner.

Cookie Consent Banner Overview

Use this plugin to display a configurable 'cookie consent banner' on a website.

Configuring Cookie Consent Banner

The appearance of the banner can be customised by choosing its position, layout style and colour palette. The banner text and a 'learn more' link can also be defined. Additionally, there are options to control whether the banner is auto-injected, how the required CSS and JS assets are loaded and whether the banner should display on certain entry types/categories or in live preview.

If auto-injection is not used, the banner can be rendered by using the {{ craft.cookieConsentBanner.addBanner() }} variable/method.

Brought to you by A Digital

统计信息

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

GitHub 信息

  • Stars: 11
  • Watchers: 6
  • Forks: 17
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-07-05