Open Ajax Dialog Boxes routes in administration theme

Created on 8 August 2024, 5 months ago
Updated 14 August 2024, 4 months ago

Problem/Motivation

I have links to a custom route using the Ajax Dialog Boxes β†’ so they open in a modal window.
This routes are admin routes (_admin_route: TRUE)

The problem is that that if the ajax link is in an already admin route, the content of the modal is rendered using the admin theme (twig files), but when the link is in my custom frontend theme, the contents of the modal use the starterkit_theme twigs.

Any ideia on how to force the admin theme? Am i missing something?

Thanks in advance.

πŸ’¬ Support request
Status

Fixed

Version

10.3 ✨

Component
AjaxΒ  β†’

Last updated 2 days ago

Created by

πŸ‡΅πŸ‡ΉPortugal jmauricio

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

Comments & Activities

Production build 0.71.5 2024