Configuration
Klarokratie is configured through the TYPO3 site configuration.
config/sites/<site>/config.yaml
Copied!
Basic Klaro! configuration
Set the JavaScript configuration and optional custom CSS:
klarokratie:
klaro:
config: EXT:site_default/Resources/Public/Config/KlaroConfig.js
customCss: EXT:site_default/Resources/Public/Css/Klaro.css
Copied!
Configuration options
| Name | Type | Default |
|---|---|---|
| string | '' | |
| string | '' | |
| boolean | false | |
| array | [] |
klarokratie.klaro.config
-
- Type
- string
- Default
- ''
Path to the Klaro! JavaScript configuration file.
klarokratie.klaro.customCss
-
- Type
- string
- Default
- ''
Path to a custom CSS file used to style the Klaro! overlay.
klarokratie.klaro.disable
-
- Type
- boolean
- Default
- false
Disables the Klaro! consent manager when set to
true.
klarokratie.klaro.includes
-
- Type
- array
- Default
- []
Additional JavaScript configuration files merged into the base configuration.
Default configuration
If no configuration or custom CSS is defined, Klarokratie uses a default configuration with default styles.