You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can not be upgraded from 2.2.0 directly! It is a major braking release!
9
10
10
-
Plone < 4
11
-
---------
11
+
There is no upgrade step provided for this "version jump", instead follow these steps:
12
12
13
-
For Plone 3 you need version 1.7.x of this package
14
13
15
-
JQueryUI > 1.8.6 is supposed to be compatible with jQuery 1.3.2.
16
-
At the moment you should prefer to use the 1.7.X version of jQueryUI
17
-
(same package exists for 1.7 branch)
14
+
1. First uninstall 2.1.8 version of JQuery UI using "Site Setup / Add-ons" page. This will cleanly remove all: Plugin selection related registry records; Old style `jsregistry` items; Actions and controlpanel pages.
15
+
2. Run the buildout to get the 4.0.0 version.
16
+
3. Restart instance.
17
+
4. Install JQuery UI again using "Site Setup / Add-ons" page.
18
18
19
-
Plone < 4.3
20
-
-----------
19
+
WARNINGS
20
+
========
21
21
22
-
Use version < 1.9
22
+
Plone < 5
23
+
---------
23
24
24
-
Integration for Zope and Plone
25
-
==============================
25
+
Support is dropped for older versions of Plone and Python 2.7.
26
26
27
-
This package can be used as a Plone add-on - for this it adds GenericSetup
28
-
profiles and Plone ControlPanel configlets - or it can be used as a simple Zope
29
-
jQuery UI resources registrar. See bellow how your zc.buildout config file
30
-
should look like if you use collective.js.jqueryui with or without Plone.
27
+
Integration for Zope
28
+
--------------------
31
29
32
-
Plone
33
-
-----
30
+
This package can be used as a Plone add-on only.
34
31
35
-
for Plone > 4.0:
32
+
Usage
33
+
=====
36
34
37
35
buildout.cfg::
38
36
39
37
[instance]
40
38
eggs +=
41
39
collective.js.jqueryui
42
40
43
-
for Plone == 4.0 you must add plone.app.registry yourself:
Using the control panel, you can select plugins you want. If you unselect a
128
-
plugin it will be unactivated (but not its dependencies)
129
-
130
-
Using python, you just have to use plone.registry api::
131
-
132
-
from zope.component import getUtility
133
-
from plone.registry.interfaces import IRegistry
134
-
from collective.js.jqueryui.config import DEPS
135
-
from collective.js.jqueryui.interfaces import IJQueryUICSS, IJQueryUIPlugins
136
-
#is plone.app.registry
137
-
registry = getUtility(IRegistry)
138
-
proxy = registry.forInterface(IJQueryUIPlugins)
139
-
setattr(proxy, 'ui_draggable', True)
140
-
setattr(proxy, 'ui_droppable', True)
45
+
By default this addon register all plugins and activate all of them. The registry based plugin activation is dropped. See https://github.com/collective/collective.js.jqueryui/issues/46.
0 commit comments