Home / Comment permalink

Notes from Views Mini-Course, Part II: Creating Flexible Views with Drupal

Here are notes from the 2nd class in our Views mini-course.

In today's class we will look at the Views UI in detail. I'll show you how to create flexible views. You'll see, for example, how to add a list of content by a user and have it appear on the user's profile page using a contextual filter like this:

View content by user

We'll talk about and demo:

  • Best practices for Views formatting and display.
  • How to use filters and expose filters
  • Using attachments (touched on last week when we spoke about displays).
  • Using relationships to get data from other tables
  • Adding contextual filters
  • Adding links to menus
  • Adding messages when no results are available
  • Restricting access to views
  • Creating administrative views

This week's assignment

Last week you made a view, right? This week challenge yourself to try:

  • Add a display with an attachment
  • Make a contextual filter or use a relationship
  • Add a link to your menu

Need some help? Watch tutorials 4 parts, 5 mins each! 

Next week!

Sign up to Views Mini-Course, Part III: How to back up your Views safely. May 15th. How to create a module to back up your views- no prior experience with module development needed!

Prerequisite: Introduction to Drupal - a free course offer for newsletter subscribers!

Sign up to our Acquia Training newsletter, and next week, I'll be sending out a free link to our Introduction to Drupal course on Udemy for all subscribers. This 3 hour self-paced course will get you up to speed with Drupal.


Posted on by Jess Weaver (not verified).

I had no idea these courses existed. I'm going to dig around the site a little more.

Posted on by noah pearson (not verified).

I have to look into this more

Add new comment

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.

Filtered HTML

  • Use [acphone_sales], [acphone_sales_text], [acphone_support], [acphone_international], [acphone_devcloud], [acphone_extra1] and [acphone_extra2] as placeholders for Acquia phone numbers. Add class "acquia-phones-link" to wrapper element to make number a link.
  • To post pieces of code, surround them with <code>...</code> tags. For PHP code, you can use <?php ... ?>, which will also colour it based on syntax.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <h4> <h5> <h2> <img>
  • Lines and paragraphs break automatically.
By submitting this form, you accept the Mollom privacy policy.