Theme name, template name and block name are too similar causing issues overriding the template

Created on 11 August 2023, 11 months ago

Problem/Motivation

When trying to override the template I ran into some challenges because the file name for the template begins with `block--` which is what the file name suggestions for the block surrounding the content are.

Steps to reproduce

Copy the template from the module and put it in your theme

Proposed resolution

Change the template file name and suggestions. As a short term solution I added this into a hook_theme_suggestions_alter and it seems to be working so far.

if ($hook == 'exposed_filter_data_block') {
    $suggestions[] = 'exposed_filter_data_block';
  }
πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada geekygnr Waterloo

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

Comments & Activities

Production build 0.69.0 2024