medienreaktor/cookieconsent

This package is abandoned and no longer maintained. No replacement package was suggested.

Cookie Consent for Neos

1.2.0 2022-11-08 06:53 UTC

This package is auto-updated.

Last update: 2024-07-07 09:16:29 UTC


README

Medienreaktor.CookieConsent

Cookie Consent for Neos, based on https://cookieconsent.insites.com

Installation

This package can be installed using composer:

composer require medienreaktor/cookieconsent

Configuration

Configuration options can be seen in Settings.yaml. In the settings-array, most settings of the original Cookie Consent JavaScript can be configured, e.g.:

Medienreaktor:
  CookieConsent:
    settings:
      type: 'opt-out'
      position: 'top'
      theme: 'block'
      palette:
        popup:
          background: '#237afc'
          text: '#fff'
        button:
          background: '#fff'
          text: '#237afc'

If you want to set your own "Learn more"-link, you have to set a Node identifier:

Medienreaktor:
  CookieConsent:
    informationNode: '#5a30fe73-e487-4301-a547-838b6440e33d'