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.

Alternate resources: 

Theming 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
    [Chapter 18] [with Joe Shindelar]
  • 0:05
    In this chapter,
  • 0:07
    I'm going to take a look at how we can override the themeable output for views.
  • 0:11
    Something you're going to want to do a lot when creating views for your site
  • 0:15
    is override the way things look,
  • 0:17
    changing the HTML for a table
  • 0:19
    or the way that a field is output.
  • 0:21
    We're going to take a look at how we can figure out
  • 0:23
    what templates are available to us in views,
  • 0:25
    and then how can override those templates
  • 0:03
    [Capítulo 18] [come Joe Shindelar]
  • 0:05
    Nesse capítulo,
  • 0:07
    irei dar uma olhada em como podemos sobrescrever o output em que podemos fazer tema, para Views.
  • 0:11
    Algo que você irá querer fazer bastante quando estiver criando views para seu site
  • 0:15
    é sobrescrever a maneira com que as coisas se parecem,
  • 0:17
    mudando o HTML para uma tabela
  • 0:19
    ou a maneira na qual um field é gerado.
  • 0:21
    Iremos dar uma olhada em como podemos descobrir
  • 0:23
    quais templates estão disponíveis para nós em views,
  • 0:25
    e depois como podemos sobrescrever esses templates

Theming Views

Loading...

In this lesson, we’ll take a look at how to modify the HTML output from Views, explore some of the default templates that Views provides, and learn about the various permutations of names we can give our template files to override output for everything from a large set of Views to a single field on a single View. We’ll also discuss the difference between displays, styles, rows, and fields when it comes to theming a View.

Additional resources:
There are no resources for this video. If you believe there should be, please contact us.