Collective jqcookie Package (Maintainer: Victor baumann)
Project description
Introduction
============
Adds an 8 year old version of `jquery-cookie <https://github.com/carhartl/jquery-cookie>`_ to plone.
Usage
=====
Set the value of a cookie.
$.cookie('the_cookie', 'the_value');
Create a cookie with all available options.
$.cookie('the_cookie', 'the_value', { expires: 7, path: '/', domain: 'jquery.com', secure: true });
Create a session cookie.
$.cookie('the_cookie', 'the_value');
Delete a cookie by passing null as value. Keep in mind that you have to use the same path and domain used when the cookie was set.
$.cookie('the_cookie', null);
Links
=====
* Main github project repository: https://github.com/4teamwork/collective.jqcookie
* Issue tracker: https://github.com/4teamwork/collective.jqcookie/issues
Copyright
=========
This package is copyright by `4teamwork <http://www.4teamwork.ch/>`_.
``collective.jqcookie`` is licensed under GNU General Public License.
Changelog
=========
1.1.0 (2014-02-12)
------------------
* Moved package from svn to GitHub.
[lknoepfel]
1.0a4
-----
1.0a3
-----
1.0a2
-----
1.0
---
* Initial release
============
Adds an 8 year old version of `jquery-cookie <https://github.com/carhartl/jquery-cookie>`_ to plone.
Usage
=====
Set the value of a cookie.
$.cookie('the_cookie', 'the_value');
Create a cookie with all available options.
$.cookie('the_cookie', 'the_value', { expires: 7, path: '/', domain: 'jquery.com', secure: true });
Create a session cookie.
$.cookie('the_cookie', 'the_value');
Delete a cookie by passing null as value. Keep in mind that you have to use the same path and domain used when the cookie was set.
$.cookie('the_cookie', null);
Links
=====
* Main github project repository: https://github.com/4teamwork/collective.jqcookie
* Issue tracker: https://github.com/4teamwork/collective.jqcookie/issues
Copyright
=========
This package is copyright by `4teamwork <http://www.4teamwork.ch/>`_.
``collective.jqcookie`` is licensed under GNU General Public License.
Changelog
=========
1.1.0 (2014-02-12)
------------------
* Moved package from svn to GitHub.
[lknoepfel]
1.0a4
-----
1.0a3
-----
1.0a2
-----
1.0
---
* Initial release
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.
Source Distribution
collective.jqcookie-1.1.0.zip
(15.1 kB
view details)