Cookie content¶
- Extension key
cookie_content
- Package name
buepro/typo3-cookie-content
- Version
0.1
- Language
en
- Author
Roman Büchler
- License
This document is published under the Open Content License available from https://www.openhub.net/licenses/opl.
- Rendered
2023-12-21 09:20
TYPO3 extension cookie_content
¶

This extension is intended to make websites GDPR compliant by not rendering data critical content by default. Instead a placeholder message is shown helping the user to understand the legal context. Requires the Bootstrap Package.
Configuration¶
Typoscript setup¶
Define the data protection declaration page with the following typoscript setup:
lib {
contentElement.stdWrap.override.cObject {
settings {
dataProtectionDeclarationTypolink = t3://page?uid=344
}
}
}
Note that the link has to be adjusted. Adjust t3://page?uid=344
according
your site.
Javascript¶
Modules might includes data protection related code independent of a content element usage. Prevent embedding such code using the following typoscript setup pattern:
[{$page.theme.cookieconsent.enable} == 1 && request && traverse(request.getCookieParams(), 'cookieconsent_status') != 'allow']
// Define here the conditional javascript
[END]
References¶
- Bootstrap Package
- Osano cookie consent
- Repository
- Read online
https://docs.typo3.org/p/buepro/typo3-cookie_content/main/en-us/
- TER