medienreaktor/cookieconsent

Cookie Consent for Neos

1.2.0 2022-11-08 06:53 UTC

This package is auto-updated.

Last update: 2024-04-07 08:45:46 UTC


README

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'