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

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.

Requirements

  • Plone 4.0 (for Plone 3.x, use 1.1.x releases)

Installation

  1. read docs/Install to install the package in your zope instance using buildout or easy_install
  2. Install the skin in your Plone Site with the Quickinstaller tool

Usage

  • In your custom Archetype, add:

    from Products.SmartColorWidget.Widget import SmartColorWidget
    
  • 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 Pierre Gayvallet.

Thanks

The jQuery team, for their powerfull javascript library.

EasyRGB, for the colors transformation formulas.

Roland Fasching for the widget idea from ATColorPickerWidget.

Changelog

1.1.5 (2013-06-12)

  • Added uninstall step [keul]
  • Widget were restoring the field default on failed form validation [keul]
  • Widget labels are now translable [keul]
  • Added italian stranslation [keul]
  • Fix the imports for Plone 4.3 [mpeeters]

1.1.4 (2011-05-03)

  • Avoid warnings under Plone 4.0+ [thomasdesvenain]

1.1.3

  • Fix malformed HTML entities. [kdeldycke] 2010-04-14

1.1.2

  • preserve and can restore ‘transparent’ css color

1.1.1

  • edit macro template is simplified
  • some js fixes :
    • resolve problems with css colors,
    • translate rgb colors,
    • translate 3 digits only hexa color.

1.1.0

  • Removing included jQuery. We use the jQuery that ships with Plone
  • Removing CMF skins layer. All’s going to browser resources.
  • Upgrade step

1.0.3

  • jquery-1.1.2.js removed from portal_javascripts (already installed in Plone3.1)
  • css colors (white, red, black …) are changed in hexadecimal colors at first field edition
  • product is packaged for buildout and easy_install
  • added configure.zcml and profile installation

1.0.2

  • Fixed CMFPermissions import for CMF 2.0 / Plone 3 (zegor)

1.0.1

  • Renamed jquery.js to jquery-1.1.2.js to avoid potential problems with other products versions of jquery

1.0.0

  • Initial release
Release History

Release History

1.1.5

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

1.1.4

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

1.1.3

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

1.1.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

1.1.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

1.1.0

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

1.0.3

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
Products.SmartColorWidget-1.1.5.zip (75.5 kB) Copy SHA256 Checksum SHA256 Source Jun 12, 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