Closed (fixed)
Project:
Jquery Colorpicker
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
15 Mar 2010 at 08:00 UTC
Updated:
9 Feb 2011 at 15:30 UTC
It would be great to have this available as a CCK widget. I'm this could borrow the other colorpicker code in that regard.
As far as I understand it, the vast majority of Drupal users create the form via CCK node forms, or sometimes webforms.
Thanks for porting this rad color picker intro Drupal thus far.
Comments
Comment #1
jaypanGood idea! I'll be honest though, I don't use CCK myself, and this is the only module I've created so far that creates a new form element, so I'm not fully sure how I would go about it. I'll try pulling apart another module to see how they do it, and try to come up with something. However, if anyone else is willing to assist in this, it would be appreciated.
Comment #2
design.er commentedAny news?
This would give your great module the possibility to be used by non-coders (which makes about 70% of the Drupal community?).
Maybe the code of the Colorpicker module could provide a good base for CCK integration if you need a time saver.
Regards
Stefan
Comment #3
jaypanI did look at the CCK documentation a little, and they do offer some methods to do this, but I never really got around to it. To be honest, it was/is quite low on my priority list simply because I pretty much never use CCK at all. So the problem is that as I would never actually use that section of the module, maintaining it can be a problem, due to having to deal with various issues that come up with CCK compatibility.
I'd much rather co-maintain the module with someone who has some experience doing CCK modules, and is likely to use it. I'll put up an announcement on the top page that I am looking for such a co-maintainer.
Comment #4
lpalgarvio commentedsubscribing
Comment #5
discursives commentedAgreed. This is a nice jQuery tool. I'm starting to work on this slowly.
Comment #6
plopescI think that the best option is work with the CCK API to include the jquery Colorpicker as a new widget for the Colorpicker field that provides the Colorpicker module. Then when creating a Colorpicker type field, admin will be able to choose between the Colorpicker and the jQuery colorpickerwidget.
In this way, the code won't be duplicated and both modules will be integrated.
What do you think??
Best Regards,
plopesc
Comment #7
jaypanThanks to the work of plopesc, CCK integration has been added in the 2.x branch.