ntriga / pimcore-ntriga-cookies
Cookie banner for ntriga projects
Installs: 79
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 3
Language:Twig
Requires
- php: ^8.1
- pimcore/pimcore: ^11.0
This package is auto-updated.
Last update: 2025-02-21 13:24:18 UTC
README
Package to handle cookies for Ntriga projects
Dependencies
Release | Supported Pimcore Versions | Supported Symfony Versions | Branch |
---|---|---|---|
10.x | 10.0 |
5.2 |
10.x |
11.x | 11.0 |
6.2 |
main |
Installation
You can install the package via composer:
composer require ntriga/pimcore-ntriga-cookies
Add Bundle to bundles.php
:
return [ Ntriga\PimcoreCookies\PimcoreNtrigaCookiesBundle::class => ['all' => true], ];
Usage
Add include before the closing body tag in your layout template:
{% include '@PimcoreNtrigaCookies/cookies.html.twig' %}
When we don't want to set Analytical Cookies, we can pass a parameter
{% include '@PimcoreNtrigaCookies/cookies.html.twig' with {'AnalyticalCookies': 'false'} %}
Import the translations. You can find the csv here
Changelog
Please see CHANGELOG for more information on what has changed recently.
Credits
License
GNU General Public License version 3 (GPLv3). Please see License File for more information.