Products.SmartColorWidget (1.1.4)
- Products.SmartColorWidget download link: http://plone.org/products/smartcolorwidget/releases
- Homepage of Products.SmartColorWidget: http://plone.org/products/smartcolorwidget
- Products.SmartColorWidget repository: https://ingeniweb.svn.sourceforge.net/svnroot/ingeniweb/Products.SmartColorWidget/trunk/
- Description source: https://ingeniweb.svn.sourceforge.net/svnroot/ingeniweb/Products.SmartColorWidget/trunk/README.txt
ABOUT THIS PRODUCT
SmartColorWidget is a user-friendly color picker widget for Archetypes. It allow quick and easy color selection from 3 different ways:
- HTML color value
- Color table and lightness bar slider
- Hue/Lightness/Saturation fields
The 3 inputs modes are javascript-wired and dynamically change when anything is modified
A demo type is included. Set INSTALL_DEMO_TYPES = 1 in config.py to enable it.
Dependencies
- Plone 2.1/2.5
- Archetypes 1.3.5+
Installation
1. Install as usual in your Products folder
2. Install in your Plone Site with the Quickinstaller tool
3. In your custom Archetype, add:
from Products.SmartColorWidget.Widget import SmartColorWidget
4. Use it like a regular field/widget in your Type's Schema.
Example:
StringField('color', default='#00FFFF', searchable=0, required=0, widget=SmartColorWidget( label='Color', ) ),
Credits
This product was built by the Ingeniweb team
Thanks
- The jQuery team, for their powerfull javascript library
- EasyRGB, for the colors transformation formulas
- Roland Fasching for the widget idea from ATColorPickerWidget