Skip to main content

Integration package for cookiecuttr, european guidelines

Project description

Introduction

This is an integration package for the CookieCuttr jQuery plugin.

Compatibility

  • Versions >= 2.0.0 are for Plone 5.2 and 6.0+.

  • Versions >= 1.0.0 are for Plone 5+.

  • Versions 0.7.x are for Plone 4.3.

Installation

Add the package name to the eggs part of your zope2 instance and rerun buildout, after a restart you can install the package from the Modules controlpanel.

Setup

The package comes with a controlpanel which is accessible through your plone_control_panel or directly. Here you can enable the plugin and change some settings.

Text to show your visitor:

We use cookies. <a href='{{cookiePolicyLink}}' title='read about our cookies'>Read everything</a

Link to page, link to the page which explains your cookiepolicy, for example https://plone.org or /Plone/cookies.

Text to show in the Accept button:

Accept if you like cookies!

Usage

We need to be able to decline tracking cookies for Google Analytics; This is done by overriding the default analytics viewlet and check for cookiecuttr.

You can also wrap your own javascript code:

if (jQuery.cookie('cc_cookie_accept') == "cc_cookie_accept") {
  ...
}

Contributors

  • Franklin Kingma, Original Author

  • Jan Branbergen, fixes and improvements

  • Ralph Jacobs, fixes and improvements

  • Peter Uittenbroek, fixes and improvements

  • Mikel Larreategi, multilingual messages, implied consent and tests

  • Natan Žabkar (nightmarebadger), option to move cookie message to the bottom, code cleanup

  • Laurent Lasudry (Affinitic), fixes and improvements, migration to Plone 5

  • Maurits van Rees (Zest), CI and support for Plone 6

Changelog

2.0.1 (2024-01-29)

  • Fix SyntaxError in javascript with newer jQuery. Clicking the “accept cookies” button now works on Plone 5.2 and 6.0. [maurits]

  • Fixed always failing validation in control panel on Plone 6. [maurits]

  • Fix resource bundles on Plone 6. [maurits]

2.0.0 (2023-03-14)

  • Add support for Plone 5.2 and 6.0, on all officially supported Python 3 versions. Plone 5.2 was working already, but not tested yet. [maurits]

  • Drop support for Python 2. [maurits]

  • Drop support for Plone 5.1. [maurits]

1.0.2 (2021-08-18)

  • Fix datagrifield import. [odelaere]

1.0.1 (2020-01-17)

  • use zope.interface.implementer instead of zope.interface.implements [weberc]

  • Get rid of unittest2 [gbastien]

1.0.0 (2019-05-13)

  • Add Plone 5 compatibility & drop support for Plone 4 [laulaz]

0.7.7 (2019-04-23)

  • Fix text not displaying on accept button See fourdigits/collective.cookiecuttr#19 [laulaz]

  • Avoid useless reload of the page : cookies are working without it [laulaz]

0.7.6 (2018-09-07)

  • Avoid displaying message multiple times [laulaz]

0.7.5 (2016-03-11)

  • Implement option to move cookie message to the bottom [nightmarebadger]

0.7.4 (2014-03-31)

0.7.3 (2014-03-28)

  • Nothing changed yet.

0.7.2 (2014-03-28)

  • Uninstall profile to delete registry configuration [erral]

  • Implement implied consent [erral]

  • Use collective.z3cform.datagridfield and make it multilingual aware [erral]

0.7.1 (2012-11-08)

  • Fix viewlet rendering, fix test [kingel]

0.7 (2012-11-08)

  • Added Jan and Ralph to the contributors, thanks! [kingel]

  • Started with tests [kingel]

  • Travis setup [kingel]

  • Added controlpanel test [kingel]

  • Added support for sonar [kingel]

  • Fixed viewlet rendering

0.6 (2012-10-19)

  • cleaned up GA-viewlet [Jan Branbergen]

  • Fix GA-viewlet when cookiecuttr is disabled [Jan Branbergen]

0.5 (2012-10-04)

  • plone.resource is not used, removed dependency. Made override for anlytics viewlet [thepjot]

  • javascript is not python, do not put commas at the end of arrays as it will break in ie [kingel]

0.4 (2012-09-25)

  • Changed link functionality so it works with external links [ralphjacobs].

0.3 (2012-09-25)

  • Nothing changed yet.

0.2 (2012-09-24)

  • Nothing changed yet.

0.1 (2012-09-24)

  • Package created using templer

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

collective.cookiecuttr-2.0.1.tar.gz (31.9 kB view details)

Uploaded Source

Built Distribution

collective.cookiecuttr-2.0.1-py2.py3-none-any.whl (33.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file collective.cookiecuttr-2.0.1.tar.gz.

File metadata

  • Download URL: collective.cookiecuttr-2.0.1.tar.gz
  • Upload date:
  • Size: 31.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.0

File hashes

Hashes for collective.cookiecuttr-2.0.1.tar.gz
Algorithm Hash digest
SHA256 19a5b643a5a5a9613b6aa2415469b348448e086233e1da8a9bffcee5e31dad19
MD5 87c42beb47dbbed1a4bcaf5932aee4e9
BLAKE2b-256 348e8239f9b55dda9c1989cffea214b3b6a71bcda161d38c97a379961eedd942

See more details on using hashes here.

File details

Details for the file collective.cookiecuttr-2.0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: collective.cookiecuttr-2.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 33.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.0

File hashes

Hashes for collective.cookiecuttr-2.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8060941719ce2f403bada59756576f23b863e844b67bcc1f5bc040364692e69d
MD5 88ed1034b9624d06b8e361bcfca13d3b
BLAKE2b-256 7d854b96db37e09f39a6cbb9e3b381fc4f60e423a0e73fef3c19dbc493151a4f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page