The Content Construction Kit (CCK) is one of the most useful frameworks in Drupal. CCK allows fields to be added to node types, thus extending the usefulness of a node type. Fields consist of an underlying data type (string, integer, date...), a widget (the UI), and a formatter (for presenting the data). A field can also be more complex, such as a file field, an image field, or a computed field.

If the CCK interests you, your Summer of Code project could be to create a new field type. Do your research in advance and make sure that the field you are proposing doesn't exist, and that it is really suitable for being a CCK field.

Darrel O'Pry has written a tutorial on creating CCK fields. Lullabot has published an article explaining the inner workings of CCK. Read these to help formulate your ideas.

NOTE: This is purposefully open-ended.

My goal is for creative students to propose their own original CCK field ideas in their applications. Bonus points will be given for those who demonstrate an understanding of the potential for different widgets, formatters, Views integration, and other nice things like field-specific actions (via Actions module).

Comments on this proposal

This is a pretty ambiguous
Bevan - February 17, 2007 - 04:14

This is a pretty ambiguous proposal at the moment. I think we need ideas about WHAT field types could be created.

I have one idea: a Google map (and/or other similar mapping API) selector & a 'location' field to define a location (by lat and longitude). The idea comes from this screenshot on flickr and a need for a current project. there may be avenues for integration into the location module.

Needs more thought and development this proposal -- obviously.
======================================================
======================================================

Prospective students encouraged to come up with their own.
robertDouglass - March 9, 2007 - 08:18

My goal in writing this proposal in such an ambiguous state is to encourage people to apply with their own original ideas for CCK fields.

- Robert Douglass

-----
Lullabot | my Drupal book
======================================================
======================================================

Event CCK field
sshvetsov - February 17, 2007 - 18:31

I'd love to see event integration into CCK. Similar to Date field, but Event. I would imagine a widget similar to Google Calendar add event view (just the "When" part). It should include options like:

* start date+time and end date+time / all day start and end
* repeats (Daily / Weekly / Monthly / Yearly)
* repeat every (1 to X day / week/ month / year)
* repeat on (Mon. to Sun. for Weakly / X day of the month, X day of the week for Monthly)
* End date for repeats

======================================================
======================================================

Multimedia Field
Rosamunda - February 17, 2007 - 23:32

It would be good to modify the multimedia field that already exists, to allow video and audio to play embedded in the page, as Youtube or Goggle Vids.

Rosamunda
Buenos Aires | Argentina
www.ligadelconsorcista.org
======================================================
======================================================

Wouldn't an event field
rcross - February 23, 2007 - 20:57

Wouldn't an event field actually be an event node with those various date fields? Also, I was under the impression that these features are currently being worked on in the date field.

--Ryan
www.ryancross.com
www.jamescrossinc.com
======================================================
======================================================

Well, it won't be a "field",
sshvetsov - March 6, 2007 - 14:30

Well, it won't be a "field", more like a widget, but not a node. You should be able to add event data to any node - exactly what CCK allows to do with its fields. I'm aware that event module can be attached to any node as well, but I thought making it a CCK field would be more consistent and more flexible. I didn't know that there were plans to enable all of the above feature in date field. Can someone point me to the discussion thread / news on that.
======================================================
======================================================

This is not a proposal
webchick - February 21, 2007 - 10:56

Please clean it up with some direction and feasible goals, like http://drupal.org/node/121112.
======================================================
======================================================

Actually, it is a suggestion for student's own creativity
robertDouglass - March 9, 2007 - 08:17

This is specifically to be in line with the advice given here: http://code.google.com/p/google-summer-of-code/wiki/AdviceforMentors

The goal of this proposal is to set a desired direction for students to be creative; finding new and interesting CCK fields to implement, with the corresponding Views integration (and Actions integration?) is, in my opinion, a rich source of potential projects.

- Robert Douglass

-----
Lullabot | my Drupal book
======================================================
======================================================