Problem/Motivation
Currently the "opt in with categories" method is incomplete for the Italian Cookie Law because the "reject all" cookie button is not available.
The Italian cookie law requires the following buttons:
- Allow all
- Deny all (or X / Close button to deny all)
- Manage preferences
Currently the module opt-ins method are two:
- opt-in: display "allow all" and "deny all"
- opt-in with categories: display "allow all" and "manage preferences"
There isn't an option with all three buttons.
I've created a simple patch to solve the problem.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | eu_cookie_compliance-enable-deny-on-categories-3263244-4.patch | 3.08 KB | finex |
Issue fork eu_cookie_compliance-3263244
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
finex commentedPatch to add "Deny all" button on "opt-in with categories" method as required by Italian cookie law.
Comment #3
finex commentedComment #4
finex commentedUpdated patch.
Comment #5
svenryen commentedThanks for the patch. I'll try to review it this weekend.
Comment #6
pietrocap commentedHi,
I need this patch but for Drupal 7. Could You gently help me?
Comment #7
svenryen commentedHi @pietrocap, I stopped backporting to Drupal 7, but maybe the community can help?
Comment #8
svenryen commented@FiNeX, your patch needs more work.
Currently, the patch introduces a third button for all sites that show the banner when they use Opt-in with categories. Some site owners may not agree with this sudden change. Can you please change your patch so that the new feature is optional? A checkbox to decide whether to use the feature should be sufficient.
Comment #9
svenryen commentedComment #10
propercroc commentedI like this. My german client also demands we have a deny-all-button. Included the patch in composer and added some styles, voilá!
Thanks!
Comment #11
svenryen commentedBump the timestamp of this issue so that we don't lose track of it for -beta4.
Comment #13
svenryen commentedComment #15
svenryen commented