BUMMZACK

Home

 

SilverStripe CMS Extension: ColorPicker

The ColorPicker Module adds a color-picker input field to the SilverStripe CMS. It makes use of the ColorPicker jQuery Plugin.

The following Screenshot shows the module in action:

ColorPicker Screenshot

December 3rd, 2009: ColorPicker was updated to work with SilverStripe 2.3.3 and 2.3.4

Installation

  • Download and extract colorpicker.zip to your SilverStripe installation directory.
  • Run /dev/build
  • Make use of the ColorField

Example

Adding a ColorField to your Page is as simple as this:

// place this inside your getCMSFields method
$fields->addFieldToTab(
    'Root.Content.Main',
    new ColorField('BgColor', 'Background Color')
);
Created: 26/05/2009 – Edited: 03/12/2009