2017 © Pedro Peláez
 

silverstripe-module silverstripe-color-field

Silverstripe Color Field

image

toastnz/silverstripe-color-field

Silverstripe Color Field

  • Friday, September 11, 2015
  • by permanentinc
  • Repository
  • 5 Watchers
  • 1 Stars
  • 67 Installations
  • JavaScript
  • 2 Dependents
  • 0 Suggesters
  • 6 Forks
  • 2 Open issues
  • 2 Versions
  • 6 % Grown

The README.md

Silverstripe Color Field

A colour picker field for the Silverstripe CMS. Uses Iris Colour Picker., (*1)

private static $db = array(
  'MyColor' => 'Varchar(7)'
);

```php ColorField::create('MyColor'), (*2)

###Screenshot
![Screenshot](https://cloud.githubusercontent.com/assets/1136811/9506805/511c2b40-4c9e-11e5-85e8-4b08dec3a92a.png)
###Configuration
Add as many colours as you want to the palettes.
```yml
ColorField:
  colors:
    - '#1976D2'
    - '#2196F3'
    - '#BBDEFB'
    - '#FFFFFF'
    - '#FF4081'
    - '#212121'
    - '#727272'
    - '#B6B6B6'

The Versions

11/09 2015

dev-master

9999999-dev

Silverstripe Color Field

  Sources   Download

BSD-3-Clause

The Requires

 

silverstripe

26/08 2015

0.1.0

0.1.0.0

Silverstripe Color Field

  Sources   Download

BSD-3-Clause

The Requires

 

silverstripe