DEPRECATION WARNING
This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.
Constants¶
The constants properties can be defined by editing them with the Constant Editor.
- Go to the module WEB > Template.
- In the page tree, select a page where a TypoScript template is located, mostly the root page of your website.
- In the upper left corner of the module, select 'Constant Editor' from the dropdown.
- Under 'Category' select 'COOKIE CONSENT (2)' from the dropdown.
You also can define the constants in the “Constants” field of your TypoScript templates.
plugin.tx_cookieconsent.pages¶
privacyStatement¶
Property
privacyStatement
Data type
int
Description
Page ID where the privacy statement or more information about tracking cookies can be found. This will be presented as a link on the bar.
Default
0
plugin.tx_cookieconsent.loadScripts¶
mode¶
Property
mode
Data type
string
Description
Only 2 options are possible: blacklist / whitelist. Domains will be filtered by excluding them (blacklist), or including them (whitelist)
Default
blacklist
Note
Declaring the domains which should be used in the white- or blacklist is not possible in constants. These must be declared in the setup of your TypoScript Template.
plugin.tx_cookieconsent.checkBrowserDNT¶
Property
checkBrowserDNT
Data type
boolean
Description
1 (true) when the "Do Not Track" setting of the browser has to be taken into account.
Default
0
plugin.tx_cookieconsent.showDenyButton¶
Property
showDenyButton
Data type
boolean
Description
1 (true) shows also the button to deny the consent. By clicking this button, the visitor will not be tracked and the cookie bar will not be shown anymore.
Default
0