Hey,

I have just updated my Drupal installation to the latest 8.3.x version and so also from "layout plugin" to "layout discovery". I am using Display Suite 3.1 and I created+set a layout for several of my content types.

theme file:
naurodvolleys.layouts.yml

naurodvolleys_1x1:
  label: "naurodvolleys 1x1"
  category: "naurodvolleys"
  template: "templates/content-layout/naurodvolleys_1x1"
  regions:
    main:
      label: "Main"

I am using this layout for several content types but i want to override the template for one specific content type. I did this the whole time with a simple template renaming:

naurodvolleys-1x1--node-result-1x1.html.twig

I also see this template as a suggestion:

But for some reason the template file is not being used.

It seems like this has something to do with the update to layout discovery. Any thoughts what could go wrong?

Greetings
Sebastian

Comments

sgurlt created an issue. See original summary.

gambry’s picture

Status: Active » Closed (duplicate)