Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Python JavaScript CSS
branch: master
Failed to load latest commit information.
docs Updated texts
src/collective values are required now, so take into account on migration
.gitignore Make it work
.travis.yml Updated travis config
CHANGES.txt Back to development: 0.7.5
CONTRIBUTORS.txt Added contributor
MANIFEST.in Manifest: include the docs directory.
README.rst Updated readme
bootstrap.py Get fresh http://downloads.buildout.org/1/bootstrap.py
buildout.cfg
setup.cfg first commit
setup.py Back to development: 0.7.5
sonar-project.properties Add test results to sonar, run bin/test --xml to generate
travis.cfg Start with tests, travis setup

README.rst

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

Something went wrong with that request. Please try again.