Code snippets for symfony 1.x


Refine Tags

Snippets tagged "colorpicker"

ColorPicker Helper

Here is a code for new helper functions : input_color_tag and object_input_color_tag which display a input field. When the focus is on the input a color-picker appear.

See the demo on the bottom of this webpage

2 colorpickers are available by switching the button on the right : a small and simple one, a bigger one like photoshop color picker.

To work, the colorpicker need :

You have to specify in your template or yml config file you want to use this helper php file.

Files are available here (zip files)

by Sylvain PAPET on 2006-10-19, tagged colorpicker  custom  helper