dcWidgetColorPickerPlugin - 1.0.1

Color picker Widget with jQuery.

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to the Plugins Home

Signin


Forgot your password?
Create an account

Tools

Stats

advanced search
Information Readme Releases Changelog Contribute
Show source

dcWidgetColorPicker plugin

The dcWidgetColorPicker is a symfony plugin that provides a jquery color picker widget. (jQuery colorpicker from http://www.eyecon.ro/colorpicker). Requires sfJqueryReloadedPlugin.

Installation

  • Install the plugin

    $ symfony plugin:install dcWidgetColorPickerPlugin
    
  • Install assets

    $ symfony plugin:publish-assets
    
  • Clear the cache

    $ symfony cache:clear
    

Documentation

Example:

$this->widgetSchema['color'] = new dcWidgetFormColorPicker();
$this->validatorSchema['color'] = new dcValidatorColorPicker(array('required' => false));

Widgets

  • dcWidgetFormColorPicker: JQuery ColorPicker

Validators

  • dcValidatorColorPicker: Validates value generated by dcWidgetFormColorPicker