Views module provides a flexible method for Drupal administrators to control how lists of posts are retrieved and presented. There are various views add on's that should be added here.

Views HTTP Pager

This module adds HTTP Link headers for the "pagers" of a Views Rest Export.

Simply enable it and you will see Link headers such as:

Link: <>; rel="self", <>; rel="first",
<>; rel="next",
<>; rel="last"

This can be used to facilitate client-side paging by systems integrating with your Views-driven Web API.


Image Twig Extension

This little module helps you when you need to display an image using Twig.

Basically I implemented the code hint from here Twig image style filter/function

Readme and HOWTO use it coming soon.

Views data export - HTML support

This module provides an HTML output format for the Views data export module, allowing an export into a simple form of HTML.

The main use case is printing a view displaying lots of items, and whose output is quite heavy to render. Using the batched export and the HTML format allows to obtain plain HTML code and style it as needed.


Contextual Comparison

Allow a site builder to create a contextual parameter that will filter numeric data according to a comparison operator.

E.g. Assume you have a content type Cats, with a numeric field Legs. You can create a view of Cats and specify that the url parameter should use the less than parameter on the Legs field. Then if you go to the view's page at, you will see a list of Cats than have 3 Legs or fewer.

Views order by delta

This module is for you if:

  • You have a Entity Reference field that holds a list of referenced items that you want to use in a view (a slideshow for example).
  • You want to use the Entity Reference field to order the items in the view.
  • You don't want to use nodequeue, entityqueue, etc...

Views actually support order by delta, but the results are usually duplicated in a way that distinct or pure distinct can't reduce the duplications.


Subscribe with RSS Subscribe to RSS - Views