TYPO3 Logo
Cookie content
Release: 0.1

Loading data.

PAGE CONTENTS

  • Cookie content
  • TYPO3 extension cookie_content
    • Usage
    • Installation
    • Configuration
      • Typoscript setup
      • Javascript
    • References
  1. Start
  2. Cookie content
View source How to edit Edit on GitHub

Display settings


Color scheme of code blocks:


Cookie content¶

Extension key

cookie_content

Package name

buepro/typo3-cookie-content

Version

0.1

Language

en

Author

Roman Büchler

Email

rb@buechler.pro

License

This document is published under the Open Content License available from https://www.openhub.net/licenses/opl.

Rendered

2023-12-21 09:20


Latest Stable Version TYPO3 11 TYPO3 11 Total Downloads Monthly Downloads

TYPO3 extension cookie_content¶

Cookie content placeholder

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.

Usage¶

Define the behaviour on the content element access register.

Access register from content element

Installation¶

Add the static configuration to your template record:

Template record with static configuration for cookie content

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

https://extensions.typo3.org/extension/bootstrap_package

Osano cookie consent

https://github.com/osano/cookieconsent

Repository

https://github.com/buepro/typo3-cookie_content

Read online

https://docs.typo3.org/p/buepro/typo3-cookie_content/main/en-us/

TER

https://extensions.typo3.org/extension/cookie_content

  • Home
  • Contact
  • Issues
  • Repository

Page last updated: Dec 21, 2023 08:48

Last rendered: Dec 21, 2023 09:20

  • TYPO3 Theme 4.9.0
  • DRC v3.2.1
© Copyright since 2023 by buechler.pro gmbh
  • Legal Notice
  • Privacy Policy
  • Code of Conduct