You are here: Home Plone products Products.SmartColorWidget

Products.SmartColorWidget (1.1.4)

1
by Olha Pelishok last modified 2011-05-10
0.0
0.0
0.0
0.0
Released on 2011-05-03 by Ingeniweb for Plone 3.1 under GPL - GNU General Public License available for All platforms.
Software development stage: stable
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
Products.SmartColorWidget

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

Document Actions
Powered by Plone