xkisu / craftcookieconsent Goto Github PK
View Code? Open in Web Editor NEWAdds a Cookie Consent popup to Craft
License: MIT License
Adds a Cookie Consent popup to Craft
License: MIT License
Hi,
Is it possible to display different messages for different locales? Or is it for example possible to put twig code in the field to use something like the translate plugin ( https://github.com/boboldehampsink/translate ).
Thx
It would be great if we could toggle automatic dependency loading on/off.
We use RequireJS with most of our projects and would prefer to load the js this way instead.
Using project.yaml requires adminstration access to be revoked on production and staging. This means that there is no way to currently add/edit the cookie text in anything other than dev/local and copy the database over.
Will there be support for this anytime soon?
Will there be a Craft 3 release for this plugin?
The fields in the plugin settings cannot be translated. Wrapping the ouput of each field with Craft::t()
would allow translation of the fields through translation files.
https://craftcms.com/docs/plugins/internationalization
I am not too familiar with git, which is why I have submitted an issue instead of a pull request.
Hi,
When ajax loading a page where we are returning a json array, cookie consent is adding in link and style tags and breaking our json formatting. I've updated the plugin file by wrapping everything inside the init function with a simple conditional before the resources are included:
if (!craft()->request->isAjaxRequest) {
Could this please be added to the next version release so that ajax requests are no longer interfered with?
Thank you!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.