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

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! 
http://www.drupalgardens.com/content/new-views-tutorials-4-part-intro

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.

Commentaires

Posted on by Jess Weaver (non vérifié).

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

Posted on by noah pearson (non vérifié).

I have to look into this more

Ajouter un commentaire

Plain text

  • Aucune balise HTML autorisée.
  • Les adresses de pages web et de courriels sont transformées en liens automatiquement.
  • Les lignes et les paragraphes vont à la ligne automatiquement.

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.
  • Pour publier des morceaux de code, entourez-les avec les balises <code>...</code>. Pour du PHP, utilisez. <?php ... ?>, ce qui va colorier le code en fonction de sa syntaxe.
  • Les adresses de pages web et de courriels sont transformées en liens automatiquement.
  • Tags HTML autorisés : <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <h4> <h5> <h2> <img>
  • Les lignes et les paragraphes vont à la ligne automatiquement.
By submitting this form, you accept the Mollom privacy policy.