1.6.1releasedField: 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.02.6.12.6.22.6.32.6.42.6.52.6.62.6.72.6.82.6.92.6.102.6.11
NoNo1.3.21.3.21.6.11.6.11.6.11.6.11.6.11.6.11.6.11.6.11.6.11.6.11.6.11.6.11.6.11.6.1

Readme

Color Chooser Field

Version: 1.6.x
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" has-color="yes|no">#HexValue</field-name>

Version history

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