Content

Klaro Configuration - Content Tab

Hide Buttons

Hide Decline All

hide_decline_all

hide_decline_all
type

boolean

Default

false

Setting hideDeclineAll to true will hide the "decline" button in the consent modal and force the user to open the modal in order to change his/her consent or disable all third-party services. We strongly advise you to not use this feature, as it opposes the "privacy by default" and "privacy by design" principles of the GDPR (but might be acceptable in other legislations such as under the CCPA)

Hide Learn More

hide_learn_more

hide_learn_more
type

boolean

Default

false

Setting hideLearnMore to true will hide the "learn more / customize" link in the consent notice. We strongly advise against using this under most circumstances, as it keeps the user from customizing his/her consent choices.

Hide Toggle All

hide_toggle_all

hide_toggle_all
type

boolean

Default

false

Setting hideToggleAll to true will hide the "toggle all" link in the consent notice. (Attention: This option is not supported in the current Klaro release. Once this is fixed, this option will be enabled again.)

Append Buttons

Append Show Button

append_show_button

append_show_button
type

boolean

Default

false

If this option is set, a button is created in the frontend (via JavaScript) directly in front of the closing body tag, which triggers the opening of the Klaro consent management.

Append Reset Button

append_reset_button

append_reset_button
type

boolean

Default

false

If this option is set, a button is generated in the frontend (via JavaScript) directly in front of the closing body tag, which triggers the resetting of all settings and the opening of the Klaro consent management.

Translations

Fluid Template Root Path

fluidtemplate_rootpath

fluidtemplate_rootpath
type

string

Default

''

As an alternative to the usual TypoScript configuration via constants under plugin.tx_klaroconsentmanager.view, a Fluid root path can be defined here, which has a higher priority than the paths configured in TypoScript. The three default directories /Layouts/, /Partials/ and /Templates/ are expected under this path. Fluid templates created here are used to enrich Locallang labels with additional functionality or to replace them completely. In this way, dynamic content or more complex HTML structures can be provided in a simple way. Fluid templates that are to override labels are expected in the subdirectory /Templates/Labels/.

Locallang Path

locallang_path

locallang_path
type

string

Default

''

Optional path to an additional XLIFF file that overwrites the default labels or adds new labels (e.g. for custom purposes or services). If fluid templates have been stored for the labels created in this file (see the "Fluid Template Root Path" field), these will overwrite the classic labels from the Locallang file. Nevertheless, it is possible and common to reference the locallang file from the respective fluid template and obtain the actual label there (the label key is passed to the fluid template).