Skip to main content
Working from scratch, following simplicity

EU Cookie Compliance for D8 introduces the GDPR but with some inconveniences

By updating the EU Cookie Compliance module for my site in Drupal 8, I had to change some settings and review the translations because not everything worked well, above all the black area in the top when the info banner disappeared. Let's see how this can be remedied in a few steps.

Yesterday was finally released the EU Cookie Compliance module for Drupal 8 which introduces some features related to the GDPR, ie the new European law on the General Data Protection Regulation, entered into force the last 25 May.

Is Drupal 8 ready for GDPR compliance?
GDPR affects the whole organization not only your site, this module aims to help to understand its Drupal relations and tries to provide helper tools to make your site GDPR compliant. The law on cookies imposes many requirements, with a significant impact on the management of personal information relating to both customers and employees. Therefore, the installation and use of a module doesn't make your site GDPR-compliant, but is an obligatory starting point.

EU Cookie Compliance for D8 introduces the GDPR but with some inconveniences  By updating the EU Cookie Compliance module for my site in Drupal 8, I had to change some settings and review the translations because not everything worked well, above all the black area in the top when the info banner disappeared. Let's see how this can be remedied in a few steps.  Yesterday was finally released the EU Cookie Compliance module for Drupal 8 which introduces some features related to the GDPR, ie the new European law on the General Data Protection Regulation, entered into force the last 25 May. Here is the law: https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32016R0679  Is Drupal 8 ready for GDPR compliance? GDPR affects the whole organization not only your site, this module aims to help to understand its Drupal relations and tries to provide helper tools to make your site GDPR compliant. The law on cookies imposes many requirements, with a significant impact on the management of personal information relating to both customers and employees. Therefore, the installation and use of a module doesn't make your site GDPR-compliant, but is an obligatory starting point.  At the moment there are two modules for Drupal 8: EU cookie compliance (eu_cookie_compliance - https://www.drupal.org/project/eu_cookie_compliance), started on 2012; General Data Protection Regulation (gdpr - https://www.drupal.org/project/gdpr), started on 2017.  In my case I began to use the first one when I migrated to Drupal 8 and I discovered the second one only in these days.  Problems Once updated it will appear at the top of the site the Privacy banner that will always leave visible a large black portion and the translations should be partially reviewed if you have a multilingual site like me.  PHOTO  To avoid this, go to admin/config/system/eu-cookie-compliance and select "Bottom" in the "Appearance" section. You will get a much more acceptable result, as I show in the following video.  With regard to translations, just go to admin/confi

 

At the moment there are two modules for Drupal 8:

  1. EU cookie compliance (eu_cookie_compliance), started on 2012;
  2. General Data Protection Regulation (gdpr), started on 2017.

In my case I began to use the first one when I migrated to Drupal 8 and I discovered the second only in these days.

In particular version 1.1 It introduces several GDPR features:

  • adds an opt-out and opt-in experience, including blocking of Javascripts and whitelisting of cookies;
  • adds Do-Not-Track header support;
  • lets people to opt-out of tracking even if they opted in;
  • advanced feature to prompt for agreement in each browser session;
  • record consent when given (a basic storage mechanism is included, and plugins are supported);
  • adds Javascript events when the banners open/close.

Problems

Once updated it will appear at the top of the site the Privacy banner that will always leave visible a large black portion and the translations should be partially reviewed if you have a multilingual site like me.

Black area above the header with only the Privacy Settings button
Black area above the header with only the Privacy Settings button

 

The Privacy Settings area once opened
The Privacy Settings area once opened

 

The black area once removed the consent
The black area once removed the consent

 

To avoid this, go to admin/config/system/eu-cookie-compliance and select "Bottom" in the "Appearance" section. You will get a much more acceptable result, as I show in the following video.

With regard to translations, just go to admin/config/system/eu-cookie-compliance/translate, first fix those in the original language and then proceed to the translation of the second language.

TAGS MULTI

Add new comment

The content of this field is kept private and will not be shown publicly.

Plain text

  • No HTML tags allowed.
  • Web page addresses and email addresses turn into links automatically.
  • Lines and paragraphs break automatically.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.

Add new comment

The content of this field is kept private and will not be shown publicly.

Plain text

  • No HTML tags allowed.
  • Web page addresses and email addresses turn into links automatically.
  • Lines and paragraphs break automatically.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
Sponsored Links
Pubblicità

Nicola Rainiero

A civil geotechnical engineer with the ambition to facilitate own work with free software for a knowledge and collective sharing. Also, I deal with green energy and in particular shallow geothermal energy. I have always been involved in web design and 3D modelling.