4. Themes and CCK

Now that your content is created, it’s time to make it look professional and easy to read. CCK does a great job of allowing you to add plenty of customized content. What it doesn’t do as well is display the data in a fashion that is clean and nicely readable for users. In this chapter we take a look at the theme system and the way in which Content Construction Kit interacts with it. We also examine the Contemplate module, which can help you along. Drupal’s theme and templating system in version 6 goes a long way toward making theming your site easier. Finally, we consider additional help modules that will make theming Drupal even easier.

Theme Basics

Themes have two basic parts: the functions and the theme template. Drupal ...

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.