1.7.2releasedField: Color Chooser

Visually choose a hex color value

Clone URLhttps://github.com/DeuxHuitHuit/color_chooser_field.git

Add as a submodulegit submodule add https://github.com/DeuxHuitHuit/color_chooser_field.git extensions/color_chooser_field --recursive

Compatibility

2.x.x2.1.x2.2.x2.3.x2.4.x2.5.x2.6.x2.7.0
NoNo1.3.21.3.21.7.21.7.21.7.21.7.2

Readme

Color Chooser Field

Maintainer: Deux Huit Huit (https://deuxhuithuit.com)
Original Author: Josh Nichols ([email protected])

Installation

  1. Upload the folder in this archive to your Symphony 'extensions' folder and rename it to color_chooser_field.

  2. Enable it by selecting the "Field: Color Chooser", choose Enable from the with-selected menu, then click Apply.

  3. You can now add a "Color Chooser" field to your sections.

  4. On the entry edit screen, it uses the Farbtastic Color Picker http://acko.net/dev/farbtastic to visually select a color and place its hex value into the field.

See a screencast of the field in action: http://www.vimeo.com/6062027

Usage

The field returns

xml <field-name r="decimalRedValue" g="decimalGreenValue" b="decimalBlueValue" c="printCyanValue" m="printMagentaValue" y="printYellowValue" k="printBlackValue" brightness="0to100brightnessValue" has-color="yes|no">#HexValue</field-name>

Version history

Symphony 2.4 to 2.x.x

  • PHP 7 Support

Symphony 2.4 to 2.x.x

  • Fixed issue with color picker when out of bounds

Symphony 2.4 to 2.x.x

  • Supported on PHP 7
  • Added CMYK and brightness values

Symphony 2.4 to 2.x.x

  • Updated compatibility infos
  • Fixed broken links in publish table view

Symphony 2.4 to 2.6.x

  • Adapted default layout to settings panel
  • Restored color preview in entries table (index view)
  • Marked as compatible with Symphony 2.6.X

Symphony 2.4 to 2.5.x

  • Update for Symphony 2.5
  • Changed the xml output a bit, to be more consistent with other fields
    • Do not output empty values (was outputing #)
    • lowercase yes/no.

Symphony 2.4 to 2.4.0

  • Update for Symphony 2.4

Symphony 2.2 to 2.3.6

  • Update for Symphony 2.3.3. Since the jQuery update, needs shim for jQuery Tooltip.

Requires Symphony 2.2

  • Restoring compatibility to symphony 2.2 while keeping compatibility with 2.3. Added extra output paremeters to the front-end xml result. #HexValue

Requires Symphony 2.3

  • Cleanup & Symphony 2.3 compatibility.

Requires Symphony 2.0.5