With this addon you can display a cookie consent banner on your website.
- Download the latest Version from flatCore.org or github.com
- Unzip the file and upload the folder cookies.mod into the directory modules.
- Open the Backend and go to the Addons Section. The installation will run automatic if you open cookies.mod for the first time
| URL to your Privacy Policy | Link to your Privacy Policy Page |
|---|---|
| Cookie Banner Intro | Intro of your Cookie Banner |
| Choose Snippet ... | If you select a snippet, the Intro will be overwritten by this snippet |
| Lifetime | one day = 86400 |
| Ignore inline css | use your own CSS, if you check this option |
If you want to Style the Cookie-Banner by yourself, check the Option Ignore inline CSS and you can make use of your own Styles. If you're looking for the default CSS: cookies.mod/global/styles.css
Enter the Title, Teaser and Text OR if you have a multilingual Page, choose a Snippet. Note: The list only shows entries with "cookie" as prefix in the name.
| status | |
|---|---|
| Active | Check this, if you want to display this cookie in the cookie consent banner |
| Mandatory | Check this, if your visitors can't "uncheck" this cookie |
Now there are four input fields for code
- Cookie Accepted -
<head>injection - Cookie Accepted -
<body>injection - Cookie Declined -
<head>injection - Cookie Declined -
<body>injection
- flatCore Version > 2.0 (1.5.3 should still work, but is no longer tested)
- Your Theme must support
$append_head_codeand$append_body_code
License: GNU GENERAL PUBLIC LICENSE Version 3