O'Reilly logo

Drupal 8 Blueprints by Alex Burrows

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a listing of Lessons

With our videos, we want to allow the ability to filter and search for videos. By doing this it will make looking for the Lesson our user wants to find a lot easier.

What we want to allow our user to do is filter by taxonomy term in our case Lesson type, and then to filter it down further allow the user to use a free text search.

To do this, we need to create a view with a page display. We have previously covered how to do a filter on nodes but we are going to group and add free text for this one.

Go to views, create a new view, and call it Available Lessons. We want to show our nodes, so keep Content selected and the type of Lesson.

After this, select Create a page and give it a Page title of Available Lessons ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required