overriding views-view-unformatted.html.twig

Created on 7 May 2018, over 6 years ago
Updated 27 June 2024, 5 months ago

Initially to test a proof of concept I copied themes/contrib/d8w3css/templates/views/views-view-unformatted.html.twig to themes/contrib/mytheme/templates/views/views-view-unformatted.html.twig. Unfortunately after cache-rebuild I still see in the comments that the view refers to the base theme template:

BEGIN OUTPUT from 'themes/contrib/d8w3css/templates/views/views-view-unformatted.html.twig'

Neither changing the name to views-view-unformatted--viewname--displayname.html.twig gives me the expected result. Of course I do "drupal cr --yes" after every change. How to do it right? Or is this somehow a bug?

💬 Support request
Status

Fixed

Version

1.13

Component

Documentation

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024