Jump to content

bug with admin theme


froot
 Share

Recommended Posts

I have this one installation where the messages, warning and error appear on top of the header and also float above the button on the top right in the admin GUI, see screenshots.
I thought it had to do with some admin theme that I once installed, namely AdminThemeBoss and somehow I can still see its effects even though I switched back to Uikit theme.

I now also uninstalled, deleted that AdminThemeBoss, cleared compiled files, refreshed the site, downgraded PW /wire/ folder, upgraded back, nothing seems to help.

How can I get rid of it? It's quite annoying because the floating messages cover the button and I have to wait till they are gone so I can push the button.

Or is the issue unrelated after all?

Thanks for help!

 

Edited by froot
Link to comment
Share on other sites

If the JavaScript filenames are the same per theme (likely), your browser might just be caching them. Do a hard refresh and see if that updates how the alerts are rendered. I can't tell what browser you're currently using, so...

Firefox: CTRL+F5

Chrome and Microsoft Edge: SHIFT+(clicking on)?

Link to comment
Share on other sites

OK, your screenshots don't look like plain UIKIT to me (what mine is set to).  A few things to check ...

First, check the Module->Configure for AdminTheme stuff.  Make sure the right ones are installed and configured correctly.  I think at least some of this is stored in the database, so deleting files and upgrade/downgrade stuff is going to miss what is in your database.

Second, Have you tried opening the floating messages that are in the way in Chome's inspector (or Firefox, whatever).  This will show you the CSS/JS in charge of positioning the elements.  It will tell you what file it loaded those from, which tells you what files are the problem.

  • Like 1
Link to comment
Share on other sites

Ok... that looks really weird.

First... make a backup, then...
Check all installed admin themes, disable, and uninstall those you don't use.
Stick with the default for now.

Do you use any other modules that change styling and or behaviour in the backend?

  • Like 2
Link to comment
Share on other sites

OK I found a way to disable it, not necessarily the root of the problem though.

I had the core module SystemNotifications installed and "Notification status" was turned on. I turned it off now and the issues disappeared.

It's a core module, so is that the expected behaviour? Or is it a known bug? I'm reluctant to install it on other installations just to investigate it further…

  • Like 2
Link to comment
Share on other sites

Good catch. Neither of those modules are enabled by default. Looking up that module and finding a discussion, this might be useful to read up. In the description of the module, it states that it is under development (i.e.: not finished). ?

 

  • Like 2
Link to comment
Share on other sites

As you can see in the screenshots, the PW logo (and maybe other less apparent stuff too) have links to files inside the AdminThemeBoss folder that don't even exist anymore, because I uninstalled it and deleted it. So that must mean, that this is set in the database but when uninstalling the theme, links are not reset? 

What to do? Can't find anything when searching the database for "boss" or "adminthemeboss". 

614761291_Screenshot2024-08-25at09_16_51.thumb.png.7b697cbeb14f5f49efab61b23e949299.png345071085_Screenshot2024-08-25at09_17_10.thumb.png.e0aac8494a568506216ccb2b9379b8d9.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...