Skip to main content

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

Metadata

Release files for collective.cookiecuttr 2.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for collective.cookiecuttr 2.0.1
File Size Uploaded
collective.cookiecuttr-2.0.1.tar.gz 31.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for collective.cookiecuttr 2.0.1
File Interpreter ABI Platform
collective.cookiecuttr-2.0.1-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 65.2 kB

Release files / collective.cookiecuttr-2.0.1.tar.gz

Download URL collective.cookiecuttr-2.0.1.tar.gz
Size 31.9 kB
Tags Source
SHA-256 checksum
How to use checksums
19a5b643a5a5a9613b6aa2415469b348448e086233e1da8a9bffcee5e31dad19
BLAKE2b-256 checksum
How to use checksums
348e8239f9b55dda9c1989cffea214b3b6a71bcda161d38c97a379961eedd942
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / collective.cookiecuttr-2.0.1-py2.py3-none-any.whl

Download URL collective.cookiecuttr-2.0.1-py2.py3-none-any.whl
Size 33.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
8060941719ce2f403bada59756576f23b863e844b67bcc1f5bc040364692e69d
BLAKE2b-256 checksum
How to use checksums
7d854b96db37e09f39a6cbb9e3b381fc4f60e423a0e73fef3c19dbc493151a4f
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

2.0.1 This release

2 release files

2.0.0

2 release files

1.0.2

1 release file

1.0.1

1 release file

1.0.0

1 release file

0.7.7

1 release file

0.7.6

1 release file

0.7.5

1 release file

0.7.4

1 release file

0.7.3

1 release file

0.7.1

1 release file

0.7

1 release file

0.6

1 release file

0.5

1 release file

0.4

1 release file

0.3

1 release file

0.2

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page