Constants 

These values are defined in Configuration/Sets/KlaroConsentManager/settings.definitions.yaml and Configuration/TypoScript/constants.typoscript.

With the recommended Site Set integration, override them as Site Settings in config/sites/<site-identifier>/settings.yaml by using flat map keys:

plugin.tx_klaroconsentmanager.view.templateRootPath: 'EXT:sitepackage/Resources/Private/Templates/'
Copied!

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.tx_klaroconsentmanager.view

Template root path 

templateRootPath

templateRootPath
type

string

Default

empty

Path

plugin.tx_klaroconsentmanager.view

Defaults to EXT:klaro_consent_manager/Resources/Private/Templates/. 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.

Partial root path 

partialRootPath

partialRootPath
type

string

Default

empty

Path

plugin.tx_klaroconsentmanager.view

Defaults to EXT:klaro_consent_manager/Resources/Private/Partials/. Override this path to replace individual frontend Fluid partials.

Layout root path 

layoutRootPath

layoutRootPath
type

string

Default

empty

Path

plugin.tx_klaroconsentmanager.view

Defaults to EXT:klaro_consent_manager/Resources/Private/Layouts/. Override this path to replace frontend Fluid layouts.

Settings 

The following options are located under the following path: plugin.tx_klaroconsentmanager.settings

Klaro CSS 

css.klaro-default

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

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

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

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 moves src and href to data-src and data-href.

Main section only 

contextualconsent.mainSectionOnly

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.