Chapter 5. Drupal Content

This is the pirate chapter! You have waited patiently to learn how to customize the content of your Web site. You have learned about theming tools, preprocess functions, template files, and Web design. In this chapter you will see how to combine all of these techniques to reveal the buried treasure—your content. You will learn how to slice and dice nodes into their component fields. You will learn how to create treasure maps made of beautiful images and how to customize lists of content. Grab your content, matey! It’s time to theme it within an inch of its variables. Yarrr!

Node Templates

The node template controls how each unit of content is displayed within the larger page template. By default, this includes everything ...

Get Front End Drupal: Designing, Theming, Scripting 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.