5. CCK API

Content Construction Kit includes methods that PHP developers can use to create fields outside the user interface. This creates even more flexibility, but requires a definite knowledge of the PHP language as well as familiarity with Drupal’s development style. In this chapter, we delve into the process of integrating CCK with other modules.

Using the CCK API

The real power of CCK lies in the fact that it is a plugin-based architecture that makes it easy to add new types of fields. Hundreds of CCK modules have been developed, so most of the field types you might need already exist as contributed modules. On some rare occasions, however, custom code will be necessary to fill a very specific need. In addition, the ability to add fields ...

Get Drupal’s Building Blocks: Quickly Building Web Sites with CCK, Views, and Panels now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.