aaw-team/fe_cookies
Composer 安装命令:
composer require aaw-team/fe_cookies
包简介
Provides a cookie consent plugin for the frontend, a backend module for convenient cookie-banner management, simple but powerful APIs (PHP, JavaScript and CSS) and lots of configuration possibilities, including separate cookie settings per domain.
README 文档
README
This extension provides lots of possibilities to hide and show contents based on the existence or values of cookies. On board is a frontend plugin to display "cookie-banners" as well as a configurable API to manage cookies for PHP, JavaScript and CSS.
See the extension in the TYPO3 Extension Repository.
Features
- Frontend plugin to display "cookie-banners". It shows a message as long as the message is not aknowledged (by clicking the accept-button).
- An API for PHP and JavaScript to manage cookies. A "CSS-API" to show and hide contents by just using CSS classes (based on the existence or absence of a cookie).
- A convenient backend module to give backend users the possiblity to manage the cookie-banner contents as well as some configuration options.
- Lots of configuration possibilities.
- Wish/need more? Get in touch!
Documentation
Read the full documentation at https://docs.typo3.org/p/aaw-team/fe_cookies/master/en-us/
Building CSS and JavaScript
All CSS and JavaScript files in the Resources/Public folder are generated with the gulp toolkit. The source files are located in Resources/Private/Gulp/src. To edit or rebuild said files you have to install npm.
To install all required packages for the build process run npm install inside the Resources/Private/Gulp/ folder.
To build the files run one of the following commands.
npm run build # only builds the files once npm run watch # builds and watches for file changes
After building the files are automatically moved to Resources/Public/.
Default Style
The default style is written in Sass with the SCSS syntax. The raw SCSS files are located inside the Resources/Private/Gulp/src/sass/ folder. Most style relevant settings can be changed inside the _settings.scss file.
Contribuiting
You're welcome to add issues/comments to the bug tracker as well as creating pull requests.
统计信息
- 总下载量: 59
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2018-05-29