ntriga/pimcore-ntriga-cookies
最新稳定版本:11.0.8
Composer 安装命令:
composer require ntriga/pimcore-ntriga-cookies
包简介
Cookie banner for ntriga projects
README 文档
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.
统计信息
- 总下载量: 95
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-09-11