Additional theming

Recall from the previous two chapters that it is possible to override the default template files in favor of our own template files. In views, we used the theme information to tell us which template filenames the Views system would work on and we then modified one of those. In the theme chapter, we modified the block template file by copying it to our subtheme and making changes.

In this section, we are going to look at how to override the template file for an entire content type. This allows us to create an entirely unique look and feel for any content type we choose. To compliment this theme-related task, we'll follow up with a more detailed example of theming a view.

The goal of this section is to provide the basic features ...

Get Drupal 7 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.