ColorField (0.2)
Released on 2007-09-19 by Roland Fasching for Plone 3.0 under GPL - GNU General Public License available for All platforms.
Software development stage: stable
- ColorField download link: http://plone.org/products/colorfield/releases
- Homepage of ColorField : http://plone.org/products/colorfield
- Description source: https://svn.plone.org/svn/collective/ColorField/trunk/README.txt
ColorField is a color picker and converter for Plone Archetypes.
A demo type is included. Set INSTALL_DEMO_TYPES = 1 in config.py to enable it. It is disabled by default.
Set OUTPUT_FORMAT in config.py of the field itself to have the color codes in HTMLColor, RGB, HexColor or PILColor. Default is HTMLColor.
Usage:
- 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.ColorField import ColorWidget, ColorField - 4. Use it like a regular field/widget in your Type's Schema. There is an included example.
- 5. The widget takes a boolean parameter to pick colors on brightness too::
allow_brightness = True
Example::
ColorField('my_color',
default='#00FFFF',
output_format='HexColor',
widget=ColorWidget(
label='My color',
allow_brightness=True)
),
There are currently no items in this folder.



