Skip to content

ralphjacobs/collective.cookiecuttr

 
 

Repository files navigation

This is an integration package for the CookieCuttr javascript plugin <http://cookiecuttr.com/>

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.

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 50.3%
  • Python 49.7%