But in basic terms- Views sucks data in, fires off magic thingies, and then outputs hotness. The previous slide showed us that there are a lot of options to select from. Views will give us an administrative interface where we can click around to configure our criteria, and also how we'd like it to be output. To create a list of content on our site, we don't need to know anything about the database at all. You can say, show me all the content that is of the type, article and, authored by the admin user.īack in the olden days of Drupal, we used to write raw SQL. Views allows you to create a list of only the content that you want, based on the criteria that you define. Think of all of your content as this giant parking lot. And we want our salesperson to only show us green cars. But what does that mean? Let's pretend we're looking for a new car. Views is a query builder that makes lists of your content. In the subsequent chapters, we'll show you step-by-step how to use Views. Views is the most popular contributed module. Note: You can also mute the audio and display the captions by clicking the "cc" icon on the lower right corner of the video player. Double-boo! Here is the text of the audio. On top of that, the transcript interface using the "T" icon is broken on this video. Our apologies! The audio on this video is really bad and hard to listen to because of some background hissing. We'll continue the job board example, and create unique listings. Throughout the course of this series, we're going to start with the content types and fields that we created during the Intro to Fields for Site Builders video series. In this video we demonstrate the first things to do when creating a View: selecting our Base Table, specifying the Display, looking at Advanced Features to filter content, and specifying the HTML output. Views allows you to create a list of only the content that you want, based on criteria that you define. Back in the olden days of Drupal, we used to write raw SQL.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |