Check your version

This video covers a topic in Drupal 7 which may or may not be the version you're using. We're keeping this tutorial online as a courtesy to users of Drupal 7, but we consider it archived.

Introduction to Markup in Views

Video loading...

Join Drupalize.Me to watch this video

Join today and gain instant access to our entire video library.

Log in Sign up
  • 0:03
    In this lesson you will gain a better understanding of how markup is controlled in Views.
  • 0:09
    We'll cover what affects markup in Views, selecting an appropriate Views formatter as a starting point for markup output, customizing field markup,
  • 0:19
    customizing wrapper selectors and CSS classes in rows, fields and the View itself, accessing theming information in Views, and overriding Views template files.
  • 0:32
    First, what affects markup in Views?
  • 0:35
    There are many things, including Views template files, the type of display, the chosen format, style settings for fields if fields are used,
  • 0:47
    the View mode if "Content" is chosen as a row style, and the template files that govern that Content type or other entity type.
  • 0:59
    Finally, contributed modules that plug into Views and provide additional display types and formats
  • 1:07
    also come with their own template files as well as settings that allow you to customize the markup in your View.
  • 1:15
    First, let's take a look at markup settings in the Views UI.
  • 1:19
    How can we control markup in the Views UI? What can we control, and to what extent?
Loading ...

Introduction to Markup in Views


This next set of tutorials relates to controlling markup in Drupal when using the Views module. We’ll cover:

  • What affects markup in Views
  • Selecting an appropriate Views display format as a starting point for markup output
  • Customizing field markup
  • Customizing wrapper selectors and CSS classes
  • Accessing theming information in Views
  • Overriding Views template files
Log in or sign up to download companion files.
Additional resources: