Building a Drupal site from scratch - part 6 - Working with blocks

Updated: 24 June, 2014 seen 775

In part 4 of this Drupal tutorial series we created a view with block - Features tours. Now is the right time, to do something with this block. And we gonna put this block on our frontpage.

To access blocks section in your Drupal site, head to structure/block:

Drag this block to Content block area:

Be sure to click the save button.


To make this block availiable only on frontpage, click configure and enter settings as bellow:

Now our block containing data from view, we created before, has been setup to be displayed only on front page.

Let's see:

Remember we created a view with block Featured tours, to display nodes which are just sticky? The 2 from picture above I made sticky, to demontrate.

Next time, I'll provide information, how to add more fields to your view, and how to write and apply css styles for them.