Integration package for cookiecuttr, european guidelines
Project description
Introduction
This is an integration package for the CookieCuttr javascript plugin <http://cookiecuttr.com/>
Installation
Add the package name ot the eggs part of your zope2 instance and rerun buildout, after a restart you can install the package from the quickinstaller.
Setup
Go to <http://yoursite/@@cookiecuttr-settings> to make some default settings, and turn on the package.
I use it to be able to decline cookies for Google Analytics; I do this by wrapping the analytics code in <http://yoursite/@@site-controlpanel> in this javascript:
- 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
Changelog
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.