Composer
To install this extension with Composer, you must first define the package as a composer requirement and then perform a database update.
Install the extension
In your command line interface, change to the root directory of your project (where the composer. of your project is located) and enter the following command:
composer require erhaweb/klaro-consent-manager
or with ddev:
ddev composer require erhaweb/klaro-consent-manager
Apply database changes
Follow the steps below to make all necessary database changes:
- Open the TYPO3 backend.
-
Open the Maintenance module. See Compatibility for the complete TYPO3 v13/v14 backend path overview.
TYPO3 v13 TYPO3 v14 Admin Tools → Maintenance System → Maintenance -
In the card Analyze Database Structure click Analyze database…
The following database changes are proposed:
- Click the button Apply selected changes
Tip
In Composer-based installations, you can also apply extension schema changes with the TYPO3 core command:
vendor/bin/typo3 extension:setup
or with ddev:
ddev typo3 extension:setup
Note
Why a database update?
This extension uses the database and the TYPO3 FormEngine to let you create the Klaro configuration in a nice GUI in the backend.
For this purpose, the tables tx_, tx_ and tx_ must be created. In addition, a field must be added to the tt_ table in order to be able to implement the contextual consent feature at content level.
After installation and database setup, continue with Quick start.