Active
Project:
Admin Dialogs
Version:
1.0.30
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Mar 2026 at 10:17 UTC
Updated:
12 Jul 2026 at 22:29 UTC
Jump to comment: Most recent
I use the module very successfully to alongside the Gin admin theme to trigger Gin-style modal dialogs for quite a number of core admin paths but this one...
/admin/config/development/logging
Stubbornly refused to play ball.
The definition is...

But the result is (displayed in the front end theme)...

| Comment | File | Size | Author |
|---|---|---|---|
| admin_dialogs_logging_and_errors_result.png | 31.39 KB | sirclickalot | |
| admin_dialogs_logging_and_errors_defn.png | 45.69 KB | sirclickalot |
Comments
Comment #2
minnur commentedgin theme wont work in dialogs outside of admin theme paths. Looks like you are trying to use dialogs in public theme - dialogs inherit your non-admin theme styles.
Comment #4
sirclickalotBut the path here is clearly an 'admin' path, it is:
/admin/config/development/loggingComment #5
sirclickalotReopening as per my last comment.
@minnur Unless I thoroughly misunderstand your point?
Comment #6
minnur commentedYes the path is correct, but if you are trying to open logging path from non-admin page the dialog will inherit non-admin theme. Styles are not applied by path. So if you go to admin page and try open logging again you would see Gin theme (if you are using Gin as admin theme)
Even if I make it work with Gin theme, others may want different styling for dialogs on no-admin pages so we end up with the same problem as yours.
Does this explain the problem and why you can't see admin styles applied to dialogs in non-admin pages?
Comment #7
sirclickalotOK, I get you now, thankyou for the explanation.
I think this is was my only example of where I was actually launching an admin page from the front end.
How about offering a 'Use admin theme' checkbox which forces the current admin theme into action?
The actual forced application of the theme should dependent on current user's permission to 'View the administration theme'.
Would be a nest UX touch in my opinion and would keep everyone happy.
Thank you
Comment #8
minnur commentedI tried to add a new checkbox, unfortunately its not something I would like to support or maintain. So many issues causing adding admin theme dialog styles.. I suggest you add admin dialog styles to your theme instead so it dialogs properly rendered.
I would have to close this unless you are willing to try implement this feature or someone else can also take a look.
Comment #9
minnur commentedOne possible solution I may consider is completely disable all admin_dialog settings in frontend, so dialogs would only work when in admin paths. I think this way it would be less confusing and more like its expected behaviour.