O'Reilly logo

Drupal 6 Theming Cookbook by Karthik Kumar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10. Customizing CCK

We will be covering the following recipes in this chapter:

  • Creating a custom node type
  • Hiding fields and labels during display
  • Displaying fields together using fieldgroups
  • Theming CCK content using hook_nodeapi()
  • Theming a CCK field using a template file
  • Adding image support using the ImageField module
  • Using ImageCache to scale and crop images on the fly
  • Adding lightbox support for images

Introduction

The Content Construction Kit or CCK is a suite of modules that enable the creation, management, and customization of node types. By default, Drupal comes with a few rudimentary and generic node types to serve the basic requirements of a site. Once we are past this gradient, however, we arrive at the rather impressive roadblock of ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required