Installation 

Install the extension 

Install the extension in your TYPO3 project.

Composer installation 

If your project uses Composer, install the package with:

composer require madj2k/t3-klarokratie
Copied!

TYPO3 extension installation 

After installation, make sure the extension is active in TYPO3.

Basic configuration 

Define the path to your Klaro! configuration in the site configuration:

config/sites/<site>/config.yaml
Copied!

Example:

klarokratie:
    klaro:
        config: EXT:site_default/Resources/Public/Config/KlaroConfig.js
        customCss: EXT:site_default/Resources/Public/Css/Klaro.css
Copied!

Extension paths can be used when the files are stored in a site package.

Default behavior 

If no Klaro! configuration or custom CSS is defined, the default configuration and the default styles are used.

Older configuration keys 

Older configuration keys are still supported, but discouraged. New projects should use the klarokratie namespace.

Older notation:

klaro:
    config: EXT:site_default/Resources/Public/Config/KlaroConfig.js
    customCss: EXT:site_default/Resources/Public/Css/Klaro.css
Copied!

Alternative older notation:

klaroConfig: EXT:site_default/Resources/Public/Config/KlaroConfig.js
klaroCustomCss: EXT:site_default/Resources/Public/Css/Klaro.css
Copied!

Older disable notation:

klaro:
    disable: true
Copied!
klaroDisable: true
Copied!