Template or Theme Suggestion Duplicated in Views Overrides

Created on 26 February 2025, about 2 months ago

Problem/Motivation

When you add a views template override, duplicates of the same override appear and show as selected in twig debug, but the view no longer displays any output.

Steps to reproduce

Create the file views-views--news--all.html.twig, using the same content as views-view.html.twig, and now you see:

Additional info

In my case I'm using Drupal CMS with radix and my own subtheme.
The same problem exists if I copy the views-view--news--all.html.twig file into my Radix Starter Kit template directory.
I'm using the pre-created "News" view with three displays "All News", "Latest News", and "Related News".

πŸ› Bug report
Status

Active

Version

6.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States tstermitz Colorado

Live updates comments and jobs are added and updated live.
  • views

    Involves, uses, or integrates with views. In Drupal 8 core, use the β€œVDC” tag instead.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024