New module EU Cookie Compliance
This commit is contained in:
parent
37c335e3cc
commit
262f0b730b
12 changed files with 1112 additions and 0 deletions
52
modules/eu-cookie-compliance/README.txt
Normal file
52
modules/eu-cookie-compliance/README.txt
Normal file
|
@ -0,0 +1,52 @@
|
|||
EU Cookie Compliance 6.x - 1.x
|
||||
==============================
|
||||
|
||||
This module intends to deal with the EU Directive on Privacy and Electronic
|
||||
Communications that comes into effect on 26th May 2012.
|
||||
From that date, if you are not compliant or visibly working towards compliance,
|
||||
you run the risk of enforcement action, which can include a fine of up to
|
||||
half a million pounds for a serious breach.
|
||||
|
||||
How it works.
|
||||
=============
|
||||
|
||||
The module displays a pup-up at the bottom or at the top of website to make
|
||||
users aware of the fact that cookies are being set. The user may then give
|
||||
his/her consent or move to a page that provides more details. Consent is given
|
||||
by user pressing the agree buttons or by continuing browsing the website. Once
|
||||
consent is given another pop-up appears with a thank you message.
|
||||
|
||||
The module provides a settings page where the pop-up can be customised. There
|
||||
are also template files for the pop-ups that can be overridden by your theme.
|
||||
|
||||
Installation.
|
||||
=============
|
||||
|
||||
1. Unzip the files to the "sites/all/modules" directory and enable the module.
|
||||
|
||||
2. If desired, give the administer EU Cookie Compliance popup permissions that
|
||||
allow users of certain roles access the administration page. You can do so on
|
||||
the admin/user/permissions page.
|
||||
|
||||
- there is also a 'see EU Cookie Compliance popup' permission that helps
|
||||
you show the popup to the roles you desire
|
||||
|
||||
3. You may want to create a page that would explain how your site uses cookies.
|
||||
Alternatively, if you have a privacy policy, you can link the pop-up to that
|
||||
page (see next step).
|
||||
|
||||
4. Go to the admin/settings/eu-cookie-compliance page to configure and enable
|
||||
the pop-up
|
||||
|
||||
5. If you want to theme your pop-up override the themes in the template file.
|
||||
|
||||
NOTICE: The module does not audit your cookies nor does it prevent cookies
|
||||
from being set.
|
||||
|
||||
For developers.
|
||||
===============
|
||||
|
||||
If you want to conditionally set cookies in your module, there is a javascript
|
||||
function provided that returns TRUE if the current user has given his consent:
|
||||
|
||||
Drupal.eu_cookie_compliance.hasAgreed()
|
Reference in a new issue