How to install collective.alerts
- Download and install ActivePython
- Open Command Prompt
- Type
pypm install collective.alerts
Lastest release
Introduction
This package implements Cory LaViska's 'JQuery Alert Dialogs' for Plone.
Basically, they are fancy, styleable replacements for the standard 'alert', 'confirm' and 'prompt' browser functions.
See http://abeautifulsite.net/blog/2008/12/jquery-alert-dialogs/ for more details.
Usage
When collective.alerts is installed and the jquery.alerts library registered in portal_javascripts (should be automatic), then the alerts can be called as follows:
- jAlert( message, [title, callback] )
- jConfirm( message, [title, callback] )
- jPrompt( message, [value, title, callback] )
Dependencies:
On Plone 3.x, make sure that you have a newer version of JQuery than what is shipped with Plone. That would be JQuery > 1.3.5
The easiest way to do this is to install collective.js.jquery.
Plone 4.x users already have a new enough version of JQuery.
Changelog
1.2.3 (2011-02-08)
- Removed the setup.py dependency on collective.js.jquery (not needed for Plone 4) [jcbrand]
- Added GS-XML (metadata.xml) dependency on collective.js.jqueryui [jcbrand]
- Added css for the popup [jcbrand]
1.2.2 (2010-04-12)
- Add jquery dependencies to setup.py [jcbrand]
1.2.1 (2010-01-27)
- Remove collective.js.alerts from css registry [toutpt]
1.2 - (2009-10-05)
- Released