2017 © Pedro PelĂĄez
 

neos-plugin cookiedialogue

Simple cookie dialogue plugin. See settings to set path to imprint page

image

gesagtgetan/cookiedialogue

Simple cookie dialogue plugin. See settings to set path to imprint page

  • Tuesday, July 3, 2018
  • by gesagt.getan.
  • Repository
  • 4 Watchers
  • 0 Stars
  • 9 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 30 Versions
  • 0 % Grown

The README.md

Latest Stable Version Total Downloads License, (*1)

GesagtGetan.CookieDialogue

Simple cookie dialogue plugin. There's one Fusion prototype available: GesagtGetan.CookieDialogue:Component. This prototype include also the styles and the javascript., (*2)

Version Neos
2.* 2.*
3.* 3.* + 4.*
4.* 4.* + 5.* + 7.* + 8.*

Installation

Most of the time you have to make small adjustments to a package (e.g. configuration in Settings.yaml). Because of that, it is important to add the corresponding package to the composer from your theme package. Mostly this is the site packages located under Packages/Sites/. To install it correctly go to your theme package (e.g.Packages/Sites/GesagtGetan.Theme) and run following command:, (*3)

composer require gesagtgetan/cookiedialogue --no-update

To install the package under Neos 3.* you have to enter, (*4)

composer require "gesagtgetan/cookiedialogue:^3.0" --no-update

To install the package under Neos 2.* you have to enter, (*5)

composer require "gesagtgetan/cookiedialogue:^2.6" --no-update

The --no-update command prevent the automatic update of the dependencies. After the package was added to your theme composer.json, go back to the root of the Neos installation and run composer update. Et voilĂ ! Your desired package is now installed correctly., (*6)

How to set it up

In most cases, you just have to define the search query in the Settings.yaml from your theme package like that:, (*7)

GesagtGetan:
  CookieDialogue:
    findQuery: '[instanceof Your.Package:ImprintNodeType]'

If the plugin doesn't include the markup you have to add this line of code to your document prototype:, (*8)

prototype(Your.Package:DocumentNodeType) {
    cookieDialogue = GesagtGetan.CookieDialogue:Component {
        @position = 'before closingBodyTag'
    }
}

Interact

The event ggCookieDialogClosed is fired whenever the dialog is accepted. This can happen through manual user interaction by clicking the button, but also happens on each page load when the dialog has been accepted before and is therefor closed automatically., (*9)

Example usage:, (*10)

document.addEventListener('ggCookieDialogClosed', function() {
    // this code is only executed after the dialog has been accepted at least once
});

The Versions

03/07 2018

dev-master

9999999-dev

Simple cookie dialogue plugin. See settings to set path to imprint page

  Sources   Download

MIT

The Requires

 

03/07 2018

3.5.4

3.5.4.0

Simple cookie dialogue plugin. See settings to set path to imprint page

  Sources   Download

MIT

The Requires

 

22/06 2018

3.5.3

3.5.3.0

Simple cookie dialogue plugin. See settings to set path to imprint page

  Sources   Download

MIT

The Requires

 

22/06 2018

2.x-dev

2.9999999.9999999.9999999-dev

Simple cookie dialogue plugin. See settings to set path to imprint page

  Sources   Download

MIT

The Requires

 

22/06 2018

2.6.3

2.6.3.0

Simple cookie dialogue plugin. See settings to set path to imprint page

  Sources   Download

MIT

The Requires

 

13/06 2018

3.5.2

3.5.2.0

Simple cookie dialogue plugin. See settings to set path to imprint page

  Sources   Download

MIT

The Requires

 

13/06 2018

2.6.2

2.6.2.0

Simple cookie dialogue plugin. See settings to set path to imprint page

  Sources   Download

MIT

The Requires

 

08/06 2018

3.5.1

3.5.1.0

Simple cookie dialogue plugin. See settings to set path to imprint page

  Sources   Download

The Requires

 

08/06 2018

2.6.1

2.6.1.0

Simple cookie dialogue plugin. See settings to set path to imprint page

  Sources   Download

The Requires

 

08/06 2018

2.6.0

2.6.0.0

Simple cookie dialogue plugin. See settings to set path to imprint page

  Sources   Download

The Requires

 

08/06 2018

3.5.0

3.5.0.0

Simple cookie dialogue plugin. See settings to set path to imprint page

  Sources   Download

The Requires

 

07/06 2018

3.4.0

3.4.0.0

Simple cookie dialogue plugin. See settings to set path to imprint page

  Sources   Download

The Requires

 

07/06 2018

2.5.0

2.5.0.0

Simple cookie dialogue plugin. See settings to set path to imprint page

  Sources   Download

The Requires

 

29/05 2018

3.3.0

3.3.0.0

Simple cookie dialogue plugin. See settings to set path to imprint page

  Sources   Download

The Requires

 

29/05 2018

2.4.0

2.4.0.0

Simple cookie dialogue plugin. See settings to set path to imprint page

  Sources   Download

The Requires

 

23/05 2018

3.2.2

3.2.2.0

Simple cookie dialogue plugin. See settings to set path to imprint page

  Sources   Download

The Requires

 

23/05 2018

2.3.1

2.3.1.0

Simple cookie dialogue plugin. See settings to set path to imprint page

  Sources   Download

The Requires

 

23/05 2018

3.2.1

3.2.1.0

Simple cookie dialogue plugin. See settings to set path to imprint page

  Sources   Download

The Requires

 

23/05 2018

2.3.0

2.3.0.0

Simple cookie dialogue plugin. See settings to set path to imprint page

  Sources   Download

The Requires

 

22/05 2018

2.2.1

2.2.1.0

Simple cookie dialogue plugin. See settings to set path to imprint page

  Sources   Download

The Requires

 

16/05 2018

3.2.0

3.2.0.0

Simple cookie dialogue plugin. See settings to set path to imprint page

  Sources   Download

The Requires

 

09/05 2018

2.2.0

2.2.0.0

Simple cookie dialogue plugin. See settings to set path to imprint page

  Sources   Download

The Requires

 

27/11 2017

3.1.0

3.1.0.0

Simple cookie dialogue plugin. See settings to set path to imprint page

  Sources   Download

The Requires

 

25/08 2017

3.0.3

3.0.3.0

Simple cookie dialogue plugin. See settings to set path to imprint page

  Sources   Download

The Requires

 

25/08 2017

2.1.2

2.1.2.0

Simple cookie dialogue plugin. See settings to set path to imprint page

  Sources   Download

The Requires

 

28/04 2017

3.0.2

3.0.2.0

Simple cookie dialogue plugin. See settings to set path to imprint page

  Sources   Download

The Requires

 

28/04 2017

2.1.1

2.1.1.0

Simple cookie dialogue plugin. See settings to set path to imprint page

  Sources   Download

The Requires

 

12/04 2017

2.1.0

2.1.0.0

Simple cookie dialogue plugin. See settings to set path to imprint page

  Sources   Download

The Requires

 

27/03 2017

3.0.1

3.0.1.0

Simple cookie dialogue plugin. See settings to set path to imprint page

  Sources   Download

The Requires

 

21/02 2017

3.0.0

3.0.0.0

Simple cookie dialogue plugin. See settings to set path to imprint page

  Sources   Download

The Requires