Creating a CCK Custom Field

Last week I was updating a CCK custom field from Drupal 5 to Drupal 6. The D6 module updates are pretty simple, the catch is that CCK migrated to version 2 with D6. Unfortunately, the documentation for the CCK API is not as complete as the API documentation for Drupal core.

I got stuck on some of the naming, specifically around formatter functions. There's a blog post by Jennifer Hogdon that really helped sort out all the confusion:

A few other resources

CCK for developers:
CCK hook documentation:
Updating CCK modules from 5.x to 6.x:


Thanks for posting those links - they're helpful.

The documentation for custom fields is sparse, incomplete, and out of date, and (while I know it's an open source project) it's a real disappointment. Particularly with drupal 6, which doesn't seem to have any serious level of documentation at all -- 5.x is better supported.

I could, but I really don't want to have to delve into the CCK source code in just order to create some simple fields. None of the examples I've seen are minimal examples AND work correctly with D6.

So, unfortunately, your main link isn't working. Maybe their servers are down?