Skip to content
No description or website provided.
Python JavaScript CSS
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
docs
src/collective
.gitignore
.travis.yml
CHANGES.txt
CONTRIBUTORS.txt
MANIFEST.in
README.rst
bootstrap.py
buildout.cfg
setup.cfg
setup.py
sonar-project.properties
travis.cfg

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.