GithubHelp home page GithubHelp logo

giansi / grav-plugin-cookies-policy Goto Github PK

View Code? Open in Web Editor NEW
6.0 2.0 7.0 25 KB

Grav plugin to display a banner or a dialog on page, to accomplish with the European Community Cookies Law

License: MIT License

CSS 16.88% JavaScript 60.03% PHP 20.13% HTML 2.96%

grav-plugin-cookies-policy's Introduction

Grav Cookies Policy Plugin

Cookies Policy is a Grav Plugin and allows to display a banner or a dialog on page, to comply with the European Community Cookies Law.

The full ducumentation is available at the developer's website

grav-plugin-cookies-policy's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

grav-plugin-cookies-policy's Issues

internationalization of grav-plugin-cookies-policy

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!!!

Customise Text

Hi,

How do I customise the Cookies Notice text?

Regards
Kamalesh.

Not working with Grav's Admin Panel

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

deactivation gives error

when inserting the tag {% include 'partials/cookiespolicy.html.twig' %} into the theme deactivation of the plugin crashes the site

Update readme

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!

InvalidArgumentException using the new release GRAV 1.0.0 rc4

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?

cookieguard.eu

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?�

not working

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.