Cover by Dylan James

Safari, the world’s most comprehensive technology and business learning platform.

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required

O'Reilly logo

Creating an archived content block and view

We have already seen how to create a News listing view. In this recipe we will build on the idea of the listing view and add a block which summarizes the News article content into a list of months and years, where the links outputted in the block open a view which is dynamically filtered to display articles from a specific month and year:

Creating an archived content block and view

Getting ready

To complete this recipe you will need to have first completed the first recipe of this chapter, Creating a news listing view. We will be making use of the News article content type.

How to do it...

We will begin by creating a new View that will include Page ...

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required