ride/web-cookiemonster
最新稳定版本:1.0.0
Composer 安装命令:
composer require ride/web-cookiemonster
包简介
Automatic notification of cookie usage in a Ride application
README 文档
README
This module adds a message to the HTML view when cookies are used. This to comply with the EU regulations about cookies.
Usage
You can overwrite the cookiemonster template if you include a div with id="cookiemonster", preferably a text/template node. So it won't be visible on the page.
<script type="text/template" id="cookiemonster"> <div class="container"> <h2 class="cookiemonster__heading">{translate key="title.cookiemonster"}</h2> <p>{translate key="label.cookiemonster"}</p> <a href="#" class="cookiemonster__accept js-cookie-accept btn btn--sml">{translate key="button.cookiemonster"}</a> </div> </script>
Parameters
- cookiemonster.force: Flag to see if the cookiemonster omits the cookie check
Related Modules
Installation
You can use Composer to install this application.
composer require ride/web-cookiemonster
统计信息
- 总下载量: 325
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-04-29