Use Colorpicker in user profiles
caelon - June 3, 2009 - 02:26
| Project: | Colorpicker |
| Version: | 6.x-2.0-rc3 |
| Component: | User interface |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | by design |
Jump to:
Description
I may not understand enough to see an easy answer, if so, I apologize in advance. I'm looking to use the Colorpicker module in user profiles but since all it does is create a form field, it's unclear to me how to put that in one of the custom fields.

#1
There is a module that allows you to add CCK fields to user profiles. It's called "Content Profile" and you can find it at http://drupal.org/project/content_profile
Enable the Content Profile and Colorpicker CCK modules, then edit the Profile node's fields, adding a color picker. You should then have a color associated with your user profile. You can then use the color value from the profile node when theming your user profile, or other things associated with the user.
This should work fine. I've made content types with color picker fields, and they seem to work fine.
#2