Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When restoring a node, the display theme is used not the admin theme. If the display theme uses a very different font colour, background colour this can render the node form very difficult to read.
Comments
Comment #1
Crell CreditAttribution: Crell commentedI cannot reproduce this... What's restored is the admin form, as an AHAH fragment. I don't know why the user-side theme would have any impact on it.
Comment #2
apoc1 CreditAttribution: apoc1 commentedI have the same issue: when you hit restore, the form is loaded correctly (it actually saved the filled in forms) but for me, a part of the page is loaded with the default theme, not the admin theme.
No idea where this comes from, but looking into the html everything is loaded in the admin theme, except the div #page gets the styling of the default theme. Looking into my default theme and admin theme, both use #page. Maybe there's a conflict there?Looking further, it seems my whole page combines the css styles of both admin and the default theme. Which info should i provide to have a look at this?
Comment #3
Crell CreditAttribution: Crell as a volunteer commentedSpecific instructions for how to reproduce. If you can provide a patch as well that would be ideal, as I have extremely little time for this module anymore. :-)
Comment #4
apoc1 CreditAttribution: apoc1 commentedBeen playing around with this, using another admin theme (Minimalist Admin) solved my problem on that moment. Switching back to my first admin theme (Adminimal), where the issue happened, also give no problems anymore now. So maybe it was just a cache problem. Everything works as designed now.