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.
Installs: 52
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 0
Open Issues: 7
Type:typo3-cms-extension
Requires
- php: >=5.6,<7.3
- typo3/cms-core: ^6.2.31 || ^7.6.27 || ^8.7.13 || ^9.2.1
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.11
- phpunit/phpunit: ^7.1
Replaces
- typo3-ter/fe_cookies: 0.4.3
- dev-master / 1.x-dev
- 0.4.3
- 0.4.2
- 0.4.1
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
- dev-dependabot/npm_and_yarn/Resources/Private/Gulp/minimist-and-minimist-and-mkdirp-1.2.8
- dev-dependabot/npm_and_yarn/Resources/Private/Gulp/qs-6.5.3
- dev-dependabot/npm_and_yarn/Resources/Private/Gulp/decode-uri-component-0.2.2
- dev-dependabot/npm_and_yarn/Resources/Private/Gulp/copy-props-2.0.5
- dev-dependabot/npm_and_yarn/Resources/Private/Gulp/ajv-6.12.6
- dev-documentation-draft
- dev-0_4
- dev-0_4_0-php5compat
This package is auto-updated.
Last update: 2024-12-04 06:18:03 UTC
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.