- Issue created by @vistree
- 🇯🇵Japan ptmkenny
The admin theme should still be used on admin pages even when you overwrite the /admin path; what you report is not the expected behavior.
I just tested this locally on a Drupal 11 site I am working on and as soon as I renamed the admin path, the link was updated and the admin theme was still being used. I checked several other admin pages and the admin theme was used in all cases.
So there is probably something in your site that is interfering with the override. If you are using a custom admin theme, try using Gin or Claro to see whether the problem still occurs. Also check for any other contrib modules that affect redirects or routes.
- 🇩🇪Germany vistree
Hi @ptmkenny,
thank you for your feedback. Can you please check
/adminbereich/content/files
/adminbereich/content/mediaDo you need to enable "use admin theme" in those views or do they work with there original path containing /admin ?
- 🇯🇵Japan ptmkenny
I think your issue is a duplicate of 🐛 Changing admin path makes content --> files disappear Active . This module cannot change the link paths in Views automatically.
So, for the files view, you need to change the path in the Views UI (rename /admin as you do with this module). You may need to do the same with the Media view; no one else has reported about that yet.