Skip to main content

Integration package for cookiecuttr, european guidelines

Project description

https://secure.travis-ci.org/fourdigits/collective.cookiecuttr.png

Introduction

This is an integration package for the CookieCuttr jQuery plugin

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 quickinstaller.

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 http://plone.org or /Plone/cookies

http://plone.org

Text to show in the Accept button

Accept if you like cookies!

Usage

We 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”) { … }

for diazo I guess you need to add a rule for the the CookieCuttr div somewhere high up your rules

<append css:theme=”body” css:content=”body.cc-cookies”>

Contributors

  • Franklin Kingma, Original Author

  • Jan Branbergen, fixes and improvements

  • Ralph Jacobs, fixes and improvements

  • Peter Uittenbroek, fixes and improvements

Changelog

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

Supported by

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