Skip to main content

Implements Cory LaViska's JQuery Alerts feature for Plone

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

collective.alerts-1.2.3.tar.gz (13.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page