giansi / grav-plugin-cookies-policy Goto Github PK
View Code? Open in Web Editor NEWGrav plugin to display a banner or a dialog on page, to accomplish with the European Community Cookies Law
License: MIT License
Grav plugin to display a banner or a dialog on page, to accomplish with the European Community Cookies Law
License: MIT License
Just enabled the plugin from the latest version of grav admin 1.0.0 rc4
When I save the configuration (using the admin panel) I get the following error:
InvalidArgumentException
HELP
The Cookie Policy type variable value must be one of "bar" or "dialog". You gave "normal"
Cookiepolicy.php from line 42
throw new \InvalidArgumentException('The Cookie Policy type variable value must be defined. At the moment it is empty. If you are overriding the default confoguration, please define the type variable too with a valid value.');
}
if (!preg_grep("/" . $type . "/i", array(
"bar",
"dialog",
))){
throw new \InvalidArgumentException(sprintf('The Cookie Policy type variable value must be one of "bar" or "dialog". You gave "%s"', $type));
}
Could you please have a look?
Hi,
How do I customise the Cookies Notice text?
Regards
Kamalesh.
when inserting the tag {% include 'partials/cookiespolicy.html.twig' %} into the theme deactivation of the plugin crashes the site
Hi there.
It seems that when adding a language:
the plugin is not displaying anymore. Any idea why ?
I am using the latest beta grav and admin. thanks in advance
Bonjour!
I am a beginner in coding trying to make a multilingual site in fr, ja and en.
I don't have the technical level to make this plugin able to be set according to languages, so, after being told to make an issue here on forum of learn.getgrav.org, I make the issue here.
There must be something to change in the cookiespolicy.yaml
... Looking for an experienced hero...
certainly not a big deal, BUT...
THANKS IN ADVANCE!!!
Thanks a lot for this plugin, I'll add it soon to my site.
I've just noticed that you copied at least the readme from the error-plugin, because at the end there are lots of references to error, e.g. "bin/gpm update error". I did not update it on my own as I don't know whether the content also needs to be updated, e.g. is it for your plugin also necessary to delete the directory (in manual update) first?
Thanks!
The plugin CookiesPolicy can't be configured using the new Grav's Admin Panel. For example, if we go to the settings page of the plugin (url /admin/plugins/cookiespolicy
) and click on Save, there's the following error:
Validation failed: type is not defined in blueprints
According to a Grav developer: "These plugins just need to get updated with appropriate blueprint files so they will work in the admin plugin."
My config: Grav v0.9.39, Admin Panel v0.4.2, CookiesPolicy v1.0.3
this jQuery module seems to be a very complete approach to meet the EU cookie requirements:
http://cookieguard.eu
wonder if you can integrate this with your plugin?�
would be great to be able to select e.g. bottom as position
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.