定制 therealworld/cookieconsent-module 二次开发

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

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

therealworld/cookieconsent-module

最新稳定版本:v2.0.18

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.

统计信息

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

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固