EU laws require sites to let the user know if cookies are stored on their devices. Depending on EU country there are different types of compliance implementation. Usually scripts like this one only offer notifications and they don't implement real opt-in or opt-out compliance. This plugin offers October CMS implementation of Cookie Consent JS, additional Twig template function for easier checks whether or not to serve cookies and additional JS that cleans all cookies if user declines to accept cookies.
This plugin integrates the popular Cookie Consent tool in your theme. It requires the theme to have the
Simply configure the settings from the backend interface (Settings -> MISC -> EU Cookie Law Madness) and then it automatically runs on the frontend.
There is a view helper
allow_cookies that you can call from twig template.
If you need to access user decision, cookie is named
cookieconsent_status unless you renamed it in configuration.
Cookie can have values:
Found the plugin useful on 26 May, 2017
Support this plugin multilanguage website? For example with https://octobercms.com/plugin/rainlab-translate
Miha Trtnik author
Replied on 2 Jun, 2017
Thanks for review. At the moment I dont support rainlab translate since I have build this extension for my own projects and didn't need multilingual support there. If I will need this functionality I will surely share the code for it.
I would also gladly approve any pull requests ;)
CS locale added
Nov 09, 2016
Oct 10, 2016