O'Reilly logo

Drupal 6 Site Blueprints by Timi Ogunjobi

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

The latest features block

In order to create this block, just follow the same procedure that we have just seen, but with a few changes:

  • a. Select Block in the default setting
  • b. In Basic settings, give the block a Title such as latest features
  • c. In Items to display, change the value to 3
  • d. In Fields, select Node: Title and Node: Teaser
  • e. In Sort criteria, select Node: Published, and choose descending order
  • f. In Filters, select Node: Type is one of Features

Save this, and you are done. If you now go to the Blocks page, then you will see that a new block has been created called latestfeatures: Block. When put in use, it will display the titles and teasers of the last three articles posted for the Features Content type, in a block.

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