arbkomekvw/mediaconsent

Extension loads content only if the user agrees.

Installs: 31

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 1

Open Issues: 0

Type:typo3-cms-extension

v0.1.8 2020-07-06 13:24 UTC

This package is auto-updated.

Last update: 2020-11-06 14:22:53 UTC


README

TYPO3 Extension

View documentation in detail

This extension loads HTML content only after the user has clicked on a short note expressing his/her agreement to see it.

It is useful for embedding HTML snippets (often called widgets) from social media content providers like Facebook, Twitter and others. If the user does not agree, no widget is shown and no personal data (IP number etc.) is transferred to the social media provider.

The extension provides a new content element called "Media Consent Opt-In" which has two specific fields: one for the HTML snippet embedding the content, another for selecting the content provider (Facebook, Twitter...)

Routing

To make the extension work with TYPO3's new routing, you should add a page type suffix for the reload page type, similar to this example:

routeEnhancers:
  PageTypeSuffix:
    map:
      mediaconsent.html: 122