We have seen previously in this chapter, how we can filter a view using a block. In this recipe we will modify the news archive view to add a search box to filter the news items by title.
To complete this recipe you will need to have first completed the first recipe in this chapter, Creating a news listing view. We will be making use of the News article content type.
This recipe will also be making use of the view created previously in the recipe Creating an archived content block and view. Please complete this before proceeding.
We are going to edit the Archived news view and then update the page display so that it exposes a search form for the Title field:
1. Select Structure from the admin menu, then select Views.
2. Select edit for the Archived news view.
3. In the Filter criteria section select add.
4. Choose This page (override) from the For drop-down.
5. Check the option Content: Title (title), then select Apply (this display...