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

Template root path 

templateRootPath

templateRootPath
type

string

Default

empty

Path

plugin.tx_klaroconsentmanager.view

In addition to the default path EXT:klaro_consent_manager/Resources/Private/Templates/, this constant can be used to define a custom template root path to overwrite individual fluid files as needed.

Partial root path 

partialRootPath

partialRootPath
type

string

Default

empty

Path

plugin.tx_klaroconsentmanager.view

In addition to the default path EXT:klaro_consent_manager/Resources/Private/Partials/, this constant can be used to define a custom partial root path to overwrite individual fluid files as needed.

Layout root path 

layoutRootPath

layoutRootPath
type

string

Default

empty

Path

plugin.tx_klaroconsentmanager.view

In addition to the default path EXT:klaro_consent_manager/Resources/Private/Layouts/, this constant can be used to define a custom layout root path to overwrite individual fluid files as needed.

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

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

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

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 should be automatically replaced within the content element of the contextual consent

Main section only 

contextualconsent.mainSectionOnly

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).