Weird admin blocks if drupal_cms_admin_ui used on a non-Drupal CMS site

Created on 8 June 2025, 15 days ago

Problem/Motivation

As part of the Event Platform initiative, I am working on a recipe to provide a robust starting point for a Drupal camp website. The content architecture of Drupal CMS overall is too opinionated to be suitable as a starting point, but I would like to use individual recipes as a way to align with best practices being established here.

In particular, I would like to use drupal_cms_admin_ui as a way to install the Gin admin theme and some other admin improvements. Unfortunately, applying the recipe on a fresh (standard) install of Drupal 11 yields unexpected results.

Here is an example of how the Extend page looks before applying the recipe:

And here is how it looks after:

It appears that somehow the recipe puts a large number of blocks intended for the front end into the header region of the Gin admin theme.

Steps to reproduce

On a fresh, standard install of Drupal 11, apply the drupal_cms_admin_ui recipe, and then go to any administration page, such as the Extend page.

Proposed resolution

I'm not sure what is causing this behaviour. I did notice that if I manually install Gin before applying the recipe then the extra blocks are not visible. So it's possible it is somehow a by-product of using the recipe runner to install a theme.

πŸ’¬ Support request
Status

Active

Component

Track: Gin admin theme

Created by

πŸ‡¨πŸ‡¦Canada mandclu

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

Comments & Activities

Production build 0.71.5 2024