Using nodequeue with Views

Barry Pretsell's picture

So we have a Latest Stories Block but it does not list our Stories according to the creation time of the Stories. So what do we do? Well we go back to the Views page and make a view of our nodequeue.

Go to admin/build/views then click the Add link under the Action column for nodequeue_1

Now we are in the Views edit form, scroll down to the Sort Criteria, you will see the default sort order for a nodequeue.

Old sort order

 

Change it to this, and then we will get the desired block behaviour.

New criteria

 

Now Save, and we'll see that the nodequeue has been overridden, click on the link under the URL column to see the block. The block will also appear under admin/block menu.

overridden

 

So let's push on and use Actions and Workflows modules to add and remove items from the queue automatically. I think now you are starting to see the power of the nodequeue module that Earl Miles was writing about.