A wrapper for wimagguc/jquery-eu-cookie-law-popup for easy usage in SilverStripe CMS.
This module requires SilverStripe 4.x framework. The CMS module is also required.
composer require "taitava/silverstripe-eucookielawpopup:*"
The popup message will be rendered into that element. If you want to change the
class attribute to something else, or use an
ID attribute instead of a
class, you can configure a custom jQuery selector in your application's YAML config:
Create a file app/_config/eucookielawpopup.yml:
--- Name: customeucookielawpopup After: - '#eucookielawpopup' --- Taitava\EUCookieLawPopup\EUCookieLawPopup: popup_element_jquery_selector: '.eupopup'
Remember to run /dev/build?flush=all in your browser after changing the selector.
These are the default values:
You can use these variables in any of your templates for additional features.
cookiePolicyURLin the admin panel by selecting a page in SiteConfig.
Have your own ideas? Please let me know in the issues! :) Pull requests are also welcome.
The SilverStripe module:
Module rating system helping users find modules that are well supported. For more on how the rating system works visit Module standards
Score not correct? Let us know there is a problem