07.05.2026 | Dominik Wille

Exclude already-displayed entities from a view

Use the views_exclude_previous module. See below or open the module documentation for further information.

Issue:

A page contains multiple Views blocks showing entities of the same type – for example teasers, lists, or cards. Without coordination between them, the same entity can appear in more than one block on the same page.

Solution:

Install and enable the module using your favoured method. 

It provides a contextual filter that tracks which entities have already been rendered on the current page. Adding this filter to subsequent Views blocks ensures each entity appears only once, regardless of how many Views are present on the page.

Weitere DevBits

06.08.2026 | Lothar Ferreira Neumann

Change custom text field sizes in Gin Backend Theme using Asset Injector

To alter the node ID field (nid) of our content view we add this to the file:

asset_injector.css.gin.yml
/* Views exposed filter: appropriate field widths */
.views-exposed-form #edit-nid {
  max-width: 10ch;
}
24.02.2026 | Lothar Ferreira Neumann

Hide a view if it yields no results

The Option in the view

Click here to enable the following option:

The checkbox to hide the view when its empty.