Cookie Warning – Free EU Cookie Law Module

Creative Commons Licence

I was looking for some way of at least attempting to comply with the EU cookie laws which come into full effect in the UK this month, so i had a look for a WordPress plugin for this site and came across Cookie warning for wordpress. Now I’m not a legal expert and have no idea whether this is sufficient or not but my theory is that at least I’ve made an effort…..

Just for a bit of fun I decided to port the WordPress Plugin to Prestashop and the result is available below. It was noted that the check wasn’t persistent, so I have updated the javascript that handles the consent check cookie.

This is provided free and without any warranty whatsoever. It may not even work.

Download the Free EU Cookie Law “Cookie Warning” Module – Latest Version
Version 0.2 – Oops!
Initial release version – version 0.1

No related content found.

Sharing is caring!

Posted on May 25, 2012 | Related Categories: Free Prestashop Modules | 13 comments

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

13 Responses to Cookie Warning – Free EU Cookie Law Module

  1. Uddhava says:

    Paul,

    Wonderful module, and thanks for putting it in the field for free.
    I think the EU cookie law is full of crap and will not help. But as far as i read the law, we dont need permission from the user when the cookie is essential (like in shops).

  2. Joseph says:

    I would like to put some html tags into the description but it seems that the code strips the tags. What should I edit?

    • For a quick and dirty solution:

      The calls to Configuration::updateValue() can have an optional 3rd parameter to allow html e.g.
      Configuration::updateValue($this->name.'_warn_text', Tools::getValue('warn_text'), true);

      Changing that will allow it to save the html.

  3. Baz says:

    Hi Fabien – that fixed the install issue, but I now get javascript error with IE:

    Message: ‘null’ is null or not an object
    Line: 75
    Char: 53
    Code: 0
    URI: http://thermapen.co.uk/modules/cookiewarning/cookiewarning.js

    If you go to thermapen.co.uk you will see what I mean – any ideas on fixing?

  4. Fabien says:

    Hi,

    It seems that you have a parse error on your module.
    Someone reported this error here :
    http://www.prestashop.com/forums/index.php?/topic/166753-eu-cookie-law-2012/page__view__findpost__p__835623

    I fixed the problem and I posted the new version here :
    http://www.prestashop.com/forums/index.php?/topic/166753-eu-cookie-law-2012/page__view__findpost__p__837081

    Best regards,

  5. Baz says:

    I get the following on trying to install Prestashop V 1.4.6.2:

    The following module(s) could not be loaded:
    cookiewarning (parse error in /modules/cookiewarning/cookiewarning.php)
    cookiewarning (class missing in /modules/cookiewarning/cookiewarning.php)

  6. John says:

    The problem with the module is that it activates the pop-up on every new page that is visited, well the wordpress version does, haven’t tried your Prestashop version.

    • That’s odd, it doesn’t for me in either Firefox or Chrome. If you say “No”, then it will always ask you every time you visit as it removes all the cookies (which is the point) and can’t “remember” if you’ve ever been there before…

      • John says:

        Weird just tried it again on chrome, went to a new page and the pop-up appears, if i click back to this page all is fine though.

        • I suspect that it has to do with how your system deals with tracking cookies – this uses a cookie to store the response….and that cookie may be being blocked or may be misconfigured. More digging required!!