This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

A Plone add-on that makes the standard Plone status messages appear like a Growl notification using the jQuery Gritter plugin.

It transforms the Plone status messages from this

to this

How it works

It just works! If JavaScript is disabled you will have the standard Plone behaviour. Test it visiting:

Installation

To install redturtle.gritterize you simply add redturtle.gritterize to the list of eggs in your buildout, run buildout and restart Plone. Then, install redturtle.gritterize using the Add-ons control panel.

Configuration

At the moment it is really basic, this will change. You can configure the stickiness and the persistence time (in milliseconds) by adding a custom a config object to the igritter global object:

igritter.config = {
    time: {
      'portalMessage info': 10000,
      'portalMessage warning': 20000,
    }
};

According to the matching portal message class the right persistnece time will be set (in this case 10 seconds for the info ones, 20 for the warning ones). If the lookup fails the gritter message will be sticky.

Adding more gritter messages

Following the same approach you can add additional gritter messages (e.g. you can pop up form validation messages).

This is an example:

message = jq('.fieldErrorBox');
mygritter = {title: message.parent().find('.widget > span > a').html(),
             text: message.html(),
             class_name: 'portalMessage error',
             target: message,
             remove: false
};
igritter.add_gritter(mygritter);

This will take the element with class .fieldErrorBox and try to get info from the page to fill in the gritter message.

If remove is true the orginal error will be removed. Changelog =========

0.9.3 (2013-09-23)

  • Added a new add_gritter function to allow adding gritter messages unrelated to plone portal messages [ale-rt]

0.9.2 (2013-09-10)

  • The stickiness and persistence time of the popup can be configured now (see README.rst) [ale-rt]

0.9.1 (2013-07-30)

  • Fixinig broken release [ale-rt]

0.9.0 (2013-07-30)

  • Initial release. [ale-rt]
Release History

Release History

0.9.4.dev0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.9.3

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.9.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.9.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
redturtle.gritterize-0.9.3.zip (26.8 kB) Copy SHA256 Checksum SHA256 Source Sep 23, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting