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.x | 2.1.x | 2.2.x | 2.3.x | 2.4.x | 2.5.x | 2.6.x | 2.7.0 | 2.7.1 | 2.7.2 | 2.7.3 | 2.7.4 | 2.7.5 | 2.7.6 | 2.7.7 | 2.7.8 | 2.7.9 | 2.7.10 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
No | No | 1.3.2 | 1.3.2 | 1.7.2 | 1.7.2 | 1.7.2 | 1.7.2 | 1.7.2 | 1.7.2 | 1.7.2 | 1.7.2 | 1.7.2 | 1.7.2 | 1.7.2 | 1.7.2 | 1.7.2 | 1.7.2 |
Readme
Color Chooser Field
Maintainer: Deux Huit Huit (https://deuxhuithuit.com)
Original Author: Josh Nichols ([email protected])
Installation
Upload the folder in this archive to your Symphony 'extensions' folder and rename it to
color_chooser_field
.Enable it by selecting the "Field: Color Chooser", choose Enable from the with-selected menu, then click Apply.
You can now add a "Color Chooser" field to your sections.
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