Currently the colorpicker_cck.module is unusable. It implements widget and field hooks, but most of the code seems to have been copied from the email cck module. This is a patch to fix up the module so that it makes a Color Picker widget usable.

CommentFileSizeAuthor
colorpickerwidget_dingbats.patch11.91 KBdingbats

Comments

dwees’s picture

Assigned: Unassigned » dwees

Perfect addition. You are correct in your assumption of where the code was copied from, I was hoping someone would help me make turn my form element into a CCK form element. Great work.

I'll test out your code and update the module. Nice to have you join the team!

Dave

dwees’s picture

I'm working on improving the colorpicker_cck.module. So far it doesn't do any validation (which we assume it should). The current code that I've recently uploaded is still experimental and needs someone stronger in creating CCK fields to look at it and find my blunder.

Dave

budda’s picture

Has anything been sorted with the CCK field then??

dwees’s picture

Nothing yet. Had more pressing issues. I've implemented the changes suggested above, but appears to be some minor error I can't identify. If anyone could figure it out, that would be great.

Dave

dwees’s picture

Status: Needs review » Closed (fixed)