Adding a block to a page
In the preceding recipe we saw how you can add custom content text to a page. However, a page can really come to life when it contains varied items of content. In this recipe, we will learn how to create a simple block using Views and then add that block to a page.
For this recipe, please ensure you have installed the Panels and Views modules described in the introduction to this chapter.
How to do it...
We begin this recipe by creating a new View that outputs one block display of the five latest items of content. We will then create a new Page to which we will add the Latest content block. Finally, we will save our new page and review the new page.
- Select Structure from the admin menu, then select Views.
- Select ...