Constants
These values are defined in
Configuration/ and
Configuration/.
With the recommended Site Set integration,
override them as Site Settings in
config/ by using flat map keys:
plugin.tx_klaroconsentmanager.view.templateRootPath: 'EXT:sitepackage/Resources/Private/Templates/'
With the Static TypoScript Include fallback, override the same values as classic TypoScript constants.
View
The following options are located under the following path:
plugin.
Template root path
templateRootPath
-
- type
-
string
- Default
-
empty
- Path
-
plugin.tx_klaroconsentmanager.view
Defaults to
EXT:. Override this path to replace individual frontend Fluid templates. See Reference to your own Fluid files for the backend-field alternative and expected directory structure.klaro_ consent_ manager/ Resources/ Private/ Templates/
Partial root path
partialRootPath
-
- type
-
string
- Default
-
empty
- Path
-
plugin.tx_klaroconsentmanager.view
Defaults to
EXT:. Override this path to replace individual frontend Fluid partials.klaro_ consent_ manager/ Resources/ Private/ Partials/
Layout root path
layoutRootPath
-
- type
-
string
- Default
-
empty
- Path
-
plugin.tx_klaroconsentmanager.view
Defaults to
EXT:. Override this path to replace frontend Fluid layouts.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
CSS file registered for the Klaro frontend.
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
Additional extension CSS with TYPO3-specific Klaro adjustments.
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
Self-hosted Klaro JavaScript file registered in the frontend.
Replace attributes
contextualconsent.replaceAttributes
-
- type
-
string (comma-separated list)
- Default
-
src,href
- Path
-
plugin.tx_klaroconsentmanager.settings
Comma-separated list of attributes that are moved to matching
data-*attributes in contextual consent content. The default movessrcandhreftodata-andsrc data-.href
Main section only
contextualconsent.mainSectionOnly
-
- type
-
boolean
- Default
-
true
- Path
-
plugin.tx_klaroconsentmanager.settings
Activate this option if the contextual consent placeholder should be limited to the main content of the content element, without heading and footer.
Disable Klaro Consent Management
configuration.disabled
-
- type
-
boolean
- Default
-
false
- Path
-
plugin.tx_klaroconsentmanager.settings
Disable the frontend Klaro integration while keeping the extension installed and configured. This value is one of the prerequisites evaluated by TypoScript condition to check if Klaro is used.