Closed (fixed)
Project:
EU Cookie Compliance (GDPR Compliance)
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
18 Mar 2018 at 12:09 UTC
Updated:
4 Jun 2018 at 19:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
mgiffordComment #3
nickbits commentedHi,
You mentioned on #2971324 about doing a themable block and page. I was thinking more along lines of a permenant
If I get time will have a crack at it later. Should just be a case of adding a button/link that calls the popup.
Comment #4
svenryen commentedGood idea. I can see that some people would want that.
If you provide a patch, can you also add a config variable (and setting in the form if possible) to turn the button feature on/off? Some people would not want such a button, and would make the block available instead.
Comment #5
mgiffordComment #6
lexsoft00 commentedHi,
I needed this functionality and achieved this with javascript( Only Tested with 7.x-1.x-dev ).
Usage: To revoke consent and open the pop-out window add
eu-cookie-revokeclass to any button.Comment #7
mgiffordComment #8
svenryen commentedThanks @lexsoft, it's a good start, well done and nicely structured. If we're going to bring this feature in, however, it would need an option on the admin page and some user interface (not merely a javascript function). I like the ideas by @nickbits in #3, and would be great if we can see some development along those lines.
Comment #9
nickbits commented@lexsoft, a neat and simple solution. @svenryen, I can't do anything for a while as got other priorities, but as soon as I get time will see if I can implement something myself. I was envisagning something like the revoke button on https://github.com/drnickyoung/cookieconsentexample.
I am thinking on admin page for a starting point a simple check box to enable/disable a revoke button. This could then be extended to allow custom text on the button, different placement options. But suggest start simple.
Comment #10
svenryen commentedI don't think I will be able to finish the block and page options in time for May 25, but the module will provide a tab and revoke/withdraw button as suggested in this issue thread.
Comment #11
lexsoft00 commentedHi everybody,
Thank you for cheering me up with a positive attitude. I've added an option to enable/disable in admin page and also a way to change the class.
If you believe that this will suffice for now, will try to port this to Drupal 8.
Comment #12
svenryen commentedHere's the patch for 7.x. It includes admin configuration and sticky tab that when clicked will reveal a message and an option to Withdraw consent. I used the term "Withdraw" rather than "Revoke" since "withdraw" seems to be more widely used.
Comment #13
svenryen commentedThanks @lexsoft. Seems like we were both working on the same patch today :) I don't think we need to customize the button class, but we need to customize the tab label and message, so I would prefer to use the patch in #12. Would you be interested in porting the patch in #12 to D8?
Comment #14
lexsoft00 commentedHi @svenryen,
I've just checked your patch and wanted to say that you've done a fantastic job. I wish I could help you more to finish everything by 25th of May.
From what I see you can only revoke consent when you agree to the policy, do you think we should have the button when you don't opt-in? If you change your mind or you need some of the functionality of the website that is disabled because of cookies, you would like to have the option to opt-in.
Do you believe the center button should be optional and provide an API to add the functionality to a regular menu button to open the pop-out? Other websites just have a Cookie Policy button at the bottom of the page next to copyright.
Looking forward to hearing your thoughts on this.
Comment #15
svenryen commentedSo you're saying there should be a way to reverse the action of NOT giving consent? Can we open a new issue on that? It's an entirely different feature.
Can we open a new issue on that as well? I'm trying to address the suggestion by nickbits. My original plan was to create a block and page where the user could revoke his consent, but there wasn't any momentum for that. Personally I'm no big fan of buttons that stick to the edge of the screen, and would love to see any ideas for better ways to withdraw consent.
Comment #16
lexsoft00 commentedI can agree with you on the floating button. Most websites would not go for this option.
I was thinking since we don't give an option on which cookies they can agree(right now it's all or nothing), do we really need to display the other display to get to the pop-out? Like when you click on the tab, then you get the pop-out where explains you've agreed and you click on 'change settings' button, to get to the pop-out where you can agree again or disagree?
Thank you for taking the time to pursue this issues. A lot of people are grateful for your work.
When I get the time will open new feature tickets and help you improve this amazing module.
Comment #18
svenryen commentedI created #2974327: Add feature for letting people opt-in after they opted out and #2974329: Provide an API in addition to the centered button for "withdraw consent"
Comment #19
svenryen commentedHere's the patch for D8.
Comment #21
svenryen commented