Cookie content¶
- Extension key
cookie_content
- Package name
buepro/typo3-cookie-content
- Version
main
- 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-24 09:26
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 (optional)¶
Placeholder¶
- dataProtectionDeclarationTypolink¶
- Type
string
- Default
{$page.theme.cookieconsent.content.href}
- Example
t3://page?uid=1#c5
- Path
lib.contentElement.stdWrap.override.cObject.settings
- Scope
TypoScript Setup
Defines the data protection declaration page by the typolink parameter. The value will be passed to parameter.
Javascript (optional)¶
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