Entityqueue

by Gisle Hannemyr

The Entityqueue module XXXX.

Table of contents

Drupal modules discussed in this chapter: Entityqueue, Views.

Introduction

Entityqueue allows site builders to create queues of any entity type. Each queue is implemented as an Entityreference field, that can hold a single entity type. It is a rewrite for Drupal 7 of Nodequeue, expanding the scope from nodes to entities.

Installing and enabling the module

Install as you would normally install a contributed Drupal module. See: Installing modules for further information.

Creating Entity queues

See: Metal Toad.

Views integration

First create your view like you normally would. The screenshots in this example, we are using a view of Content (aka Nodes), but this should be the same process for any entity type.

Then expand the "Advanced" panel in the third column. Click add in the "Relationships" section. Select the "Entityqueue: Node queue" relationship handler.

Tick "Limit to one or more queues"

You can see from the preview that content is being pulled in, but not yet filtered and sorted.

Click add in the "Filter criteria" section. Select the Node in Queue and set it to TRUE.

Click add in the "Sort criteria" section. Select the Node Queue Position as sort handler. Sor ascending. Make This take precedense over Post Date.

Final word

[TBA]


Last update: 2014-04-26 for D7 [gh].