therealworld / cookieconsent-module
CookieConsent Solution
v1.1.29
2024-12-16 13:11 UTC
Requires
- ext-json: *
- oxid-esales/oxideshop-ce: >=v6.8
- therealworld/tools-plugin: >=v2.2
- dev-master
- v2.x-dev
- v1.1.29
- v1.1.28
- v1.1.27
- v1.1.26
- v1.1.25
- v1.1.24
- v1.1.23
- v1.1.22
- v1.1.21
- v1.1.20
- v1.1.19
- v1.1.18
- v1.1.17
- v1.1.16
- v1.1.15
- v1.1.14
- v1.1.13
- v1.1.12
- v1.1.11
- v1.1.10
- v1.1.9
- v1.1.8
- v1.1.7
- v1.1.6
- v1.1.5
- v1.1.4
- v1.1.3
- v1.1.2
- v1.1.1
- v1.1.0
- v1.0.16
- v1.0.15
- v1.0.14
- v1.0.13
- v1.0.12
- v1.0.11
- v1.0.10
- v1.0.9
- v1.0.8
- v1.0.7
- v1.0.6
- v1.0.5
- v1.0.4
- v1.0.3
- v1.0.2
- v1.0.1
- v1.0.0
- dev-oxid61
This package is auto-updated.
Last update: 2024-12-16 13:27:02 UTC
README
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.