Drupal 8 Site Building: Using Views

Описание к видео Drupal 8 Site Building: Using Views

By Ivan Zugec from https://www.webwash.net

Full tutorial: https://www.webwash.net/build-a-blog-...

Sections:
Create a homepage (01:52)
Change default front page (03:12)
Enable the Archive view (05:05)
Add Archive block to region (05:34)
Create “Popular categories” block (06:35)

Just when you thought Drupal 8 couldn’t get more powerful; I give to you Views in core. Yes, the most installed module in Drupal is now part of core.

No longer will you have to wait for Views to be upgraded to use the latest version of Drupal. Just install Drupal and start building your custom views page or block.

For people who don’t know, Views allows you to list Drupal content. That’s a simple explanation, but it doesn’t give the module the respect it deserves.

For instance, you could create a page (/latest-reviews) which displays all the latest content by content type and sorted by created date. Using the module, you can query the site’s content and display it in a block, table or page just to name a few.

Now that Views is part of core, it’s used throughout the administration section. Take for example the Content (admin/content) and People (admin/people) pages. All of these are powered by Views.

In this tutorial, we’ll continue building our blog site by adding in a few custom views. We’ll create a listing of blog posts for the homepage, a “Recent blog posts” block and we’ll enable Archive view which comes with Drupal but it’s disabled.

Комментарии

Информация по комментариям в разработке