Views 2 theming | Drupal.org

Submitted by michael on Thu, 01/01/2015 - 16:16

Official Views 2 documentation exists as part of the Advanced Help module. A request
has been filed to add this tutorial to Views -- see http://drupal.org/node/495846 The
Advanced Help module is currently the only source of documentation for Views 3 theming. For
those who are familiar with theming in Views 1, the process in Views 2 may seem overwhelming
at first. Unlike Views 1, in which you might have a single template file for each view,
Views 2 allows you to have a template for each facet of each view, which it then assembles
into a single presentation. Step 1: Identifying the Views Template Theme Layers Edit your
view. Pick the display (e.g. Block, Page, etc.) you wish to theme. Under the "Basic
settings" section, click on Theme Information. A list of template files will be displayed,
in the following order: Display output: This controls the structure of the overall view,
including the position of and code around the view administrative links, header, exposed
filters, pager, "more" link, footer and feed i