Where can I find a working example of jqueryui in plone. It would be nice to use one as a starting point.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Well, it’s there already, at least in version 1.8.16.9 (and, presumably, greater) of collective.js.jqueryui.
If your site includes collective.js.jqueryui, you can do as follows:
Go to: Zope Management Interface >> portal_properties >> jqueryui_properties
Click the checkbox by example_activated to set it True, click save, confirm checkbox is still checked.
Go to any URL at your site and append “/example.jqueryui.” This will show you a jqueryui accordion, buttons, shadows, dialogs, etc…
(Your actual URL could look like: “http://localhost:8080/My_Plone_Site/example.jqueryui”)
You will see working example code if you have collective.js.jquery-1.8.16.9-py2.7.egg. You’ll find it in the egg’s collective/js/jqueryui/example.py and example.pt files.
If you have an omelette, go to parts/omelette/collective/js/jqueryui/example.pt for the page template. Note the line:
This line is including the returned string from the function javacript in file parts/omelette/collective/js/jqueryui/example.py, which begins: