This nice module still is not compliant with the Entity Module ... and it should really do.
As expressed here: http://drupalcode.org/project/entity.git/blob_plain/refs/heads/7.x-1.x:/...
it is sufficient to add the property type to the jquery_colorpicker_field_info function, like in the following code:
/**
* Implementation of hook_field_info()
*/
function jquery_colorpicker_field_info()
{
return array
(
'jquery_colorpicker' => array
(
'label' => t('jQuery Colorpicker'),
'description' => t('A colorpicker pop that uses the jQuery Colorpicker'),
'default_widget' => 'jquery_colorpicker',
'default_formatter' => 'jquery_colorpicker_color_display',
'property_type' => 'text',
),
);
}
Sorry, I am still unable to pack Drupal patch.
Hope this will be added to next dev version ... tnx!
Comments
Comment #1
plopescPatch applied with attribution.
Thanks for your collaboration.
Regards
Comment #2
esbenvb commentedHere's a patch
Comment #3
esbenvb commented