Download the PHP package madj2k/t3-klarokratie without Composer
On this page you can find all versions of the php package madj2k/t3-klarokratie. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download madj2k/t3-klarokratie
More information about madj2k/t3-klarokratie
Files in madj2k/t3-klarokratie
Package t3-klarokratie
Short Description Includes Klaro!-Consent-Manager into TYPO3. Completely file-based configuration for versioning without having to take care of database-entries.
License GPL-2.0+
Homepage https://www.steffenkroggel.de
Informations about the package t3-klarokratie
Klarokratie
Includes Klaro! consent-manager into TYPO3. Completely file-based configuration for versioning without having to take care of database-entries.
This extension automatically adds a consent-overlay to embedded YouTube- and Vimeo-Videos.
More information on Klaro! can be found here:
Installation & Basic Configuration
Simply install the extension.
If you want to use the available tracking-code-insertion for etracker or Google Analytics also include the TypoScript in your Rootpage (see below). Otherwise you don't need the TypoScript.
After installation you have to define the path to your Klaro!-configuration in your website-setup (YAML). You can also use extension-paths if you use a site-package.
Alternatively you can use this older notations (working, but discouraged for the sake of having clear namespaces):
If you do not define any configuration or custom CSS a default configuration with the default styles is used. However, you can explicitly disable the klaro! Consent Manager by using the following setting:
or - accordingly the discouraged (!!!) older versions -
Advanced Configuration
Optional: Use Tracking-Code insertion for etracker or Google Analytics
If you want to use the available tracking-code-insertion for etracker or Google Analytics also include the TypoScript in your Rootpage. Otherwise you don't need the TypoScript.
An enabled tracking-code-insertion would either include the current etracker-tracklet or the current Google Analytics tracking code.
In the TypoScript you will find the following configuration options that should be self-explaining:
There are also Klaro!-configuration-files for etracker and Google Analytics included. This files handle the cookie-opt-in for your tracking according to GDPR. You can use them by setting the desired file in your configuration:
or
If you have a multi-site setup you can either define different tracking-options in each rootpage - or use the site-configuration (YAML). Using the site-configuration is the preferred way. Please note: settings in the site-configuration always override TypoScript-settings.
Optional: Categories for etracker (et_areas)
If you use etracker there is a lib-object included which you can use to set hierarchical categories.
IMPORTANT: In order to take effect, you have to use COA-objects in your lib-override-TypoScript!
Below you find a hypothetical example that sets the current domain as first category and as category of the second level the project-name is used that is fetched from the page-properties of the current page via the field "tx_example_project" as reference to table "tx_example_domain_model_project". The example below would result in the following category-value (et_areas) for etracker:
Re-Open Modal
If you want to show a menu-item on your website to re-open the modal, this extension adds a field tx_klarokratie_open_modal to the pages-table including the corresponding TCA-configuration for convenient switching using the page properties in the backend. You can use this field to render your menu accordingly and add the required JS to re-open the modal instead of a normal link to the page.
Example:
Custom CSS
It is possible to include a custom CSS-file for adaption the Klaro! overlay to your needs (see second line above). The CSS partly uses variables which you can override in your custom CSS:
Plain CSS
Example with SASS and Bootstrap
All versions of t3-klarokratie with dependencies
typo3/cms-core Version ~10.4.0 || ~11.5.0 || ~12.4.0
matthiasmullie/minify Version ~1.3.0