Constants
Constants (or in the Site Sets context called Site Settings) that influence the behaviour of the Klaro extension are described below.
View
The following options are located under the following path:
plugin.
Template root path
templateRootPath
-
- type
-
string
- Default
-
empty
- Path
-
plugin.tx_klaroconsentmanager.view
In addition to the default path
EXT:
, this constant can be used to define a custom template root path to overwrite individual fluid files as needed.klaro_ consent_ manager/ Resources/ Private/ Templates/
Partial root path
partialRootPath
-
- type
-
string
- Default
-
empty
- Path
-
plugin.tx_klaroconsentmanager.view
In addition to the default path
EXT:
, this constant can be used to define a custom partial root path to overwrite individual fluid files as needed.klaro_ consent_ manager/ Resources/ Private/ Partials/
Layout root path
layoutRootPath
-
- type
-
string
- Default
-
empty
- Path
-
plugin.tx_klaroconsentmanager.view
In addition to the default path
EXT:
, this constant can be used to define a custom layout root path to overwrite individual fluid files as needed.klaro_ consent_ manager/ Resources/ Private/ Layouts/
Settings
The following options are located under the following path:
plugin.
Klaro CSS
css.klaro-default
-
- type
-
string
- Default
-
EXT:klaro_consent_manager/Resources/Public/Css/klaro.min.css
- Path
-
plugin.tx_klaroconsentmanager.settings
Custom additions for Klaro CSS
css.klaro-custom:
-
- type
-
string
- Default
-
EXT:klaro_consent_manager/Resources/Public/Css/klaro-custom.min.css
- Path
-
plugin.tx_klaroconsentmanager.settings
Klaro JavaScript
javascript.klaro-default
-
- type
-
string
- Default
-
EXT:klaro_consent_manager/Resources/Public/JavaScript/klaro-no-translations-no-css.js
- Path
-
plugin.tx_klaroconsentmanager.settings
Replace attributes
contextualconsent.replaceAttributes
-
- type
-
string
- Default
-
src,href
- Path
-
plugin.tx_klaroconsentmanager.settings
Comma-separated list of attributes that should be automatically replaced within the content element of the contextual consent
Main section only
contextualconsent.mainSectionOnly
-
- type
-
boolean
- Default
-
true
- Path
-
plugin.tx_klaroconsentmanager.settings
Activate this option if the contextual consent box should only be limited to the main content (without heading and footer).
Disable Klaro Consent Management
configuration.disabled
-
- type
-
boolean
- Default
-
false
- Path
-
plugin.tx_klaroconsentmanager.settings