Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
It would be nice to be able to apply settings (per country / per setting type). For example in the UK we seem to be able to use Information Only or Implied consent whilst the Dutch appear to require Explicit consent. Would therefore be nice if I could say
1. List countries exempt (know its already there)
2. List countries for explicit
3. List countries for implicit
4. List countries for information
This would allow a site to use the best model for any given country. I will have a go at updating the module and creating a patch myself, IF others are interested...
Regards,
Nick
Comments
Comment #1
nickbits CreditAttribution: nickbits commentedYet to start on this but here are my thoughts.
Have on the settings page five tabs:
General
- select the default behaviour, style and the common onAccept (and other) JS functions.
All other tabs would have list of countries, same as currently but this would allow countries to be defined different actions. So I could say default action is ignore (i.e. just use cookies without any information/permission), but for England use Information, France use Implicit and Germany Explicit.
Under each tab you could add specific JS code and other settings, i.e. different style.
not sure how it will work alongside caching, but one thing at a time. Will start working on code if/when I get chance.
Comment #2
buddaInteresting idea. I've only just learnt about the Dutch requirements to log everything for 5 years too. So I'd be interested in committing anything you get working to address the multi country support Nick.
Comment #3
nickbits CreditAttribution: nickbits commentedWill keep you posted. Initially working on just saving settings for different regions in a basic way. Afraid doing it in my spare time, when I have some, so work/development is sporadic. Will put patch files up for people to follow as soon as I have some. Will then look at the logging requirement. Fingers crossed it is something they will do away with!
Comment #3.0
nickbits CreditAttribution: nickbits commentedtypo