TYPO3 Logo
Cookie content
Release: main

Loading data.

PAGE CONTENTS

  • Cookie content
  • TYPO3 extension cookie_content
    • Usage
    • Installation
    • Configuration
      • Typoscript setup (optional)
        • Placeholder
      • Javascript (optional)
    • 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

main

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-24 09:26


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 (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

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 24, 2023 09:17

Last rendered: Dec 24, 2023 09:26

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