therealworld/cookieconsent-module 问题修复 & 功能扩展

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

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

therealworld/cookieconsent-module

最新稳定版本:v2.0.10

Composer 安装命令:

composer require therealworld/cookieconsent-module

包简介

CookieConsent Solution

README 文档

README

vendor-logo the-real-world.de

Features

  • Backend Administration of Cookies
  • Cookie-Types: NECESSARY, PERFORMANCE, FUNCTIONAL, ADVERTISING
  • Frontend: Selector for allowed Cookies
  • Template: Script-Switch for allowed Cookies

Module installation via composer

In order to install the module via composer run one of the following commands in commandline in your shop base directory (where the shop's composer.json file resides).

  • composer require therealworld/cookieconsent-module to install the actual version compatible with OXID6

How it works (example with googleanalytics in the dynscript.tpl)

  • in the backend (Admin > Service > Cookie-Admin) add a "marketing"-cookie with the ident "googleanalytics"
  • change the dynscript.tpl ** place before the google-anaytics-codes:
      [{assign var="bGoogleAnalytics" value=true}]
      [{if $oViewConf|method_exists:"isAllowedCookie" && !$oViewConf->isAllowedCookie("googleanalytics")}]
          [{assign var="bGoogleAnalytics" value=false}]
      [{/if}]
    
  • Now you can "ask" in your code if GoogleAnalytics is allowed by visitor. Encapsulate the code:
      [{if $bGoogleAnalytics}]
      ...
      [{/if}]
    

Bugs and Issues

If you experience any bugs or issues, please report them in on https://bitbucket.org/therealworld/cookieconsent-module/issues.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-only
  • 更新时间: 2021-04-25