I've been fussing with the setup a bit. When I go to the Conditions Manager (separate from AMM) and try to add a new condition, I get the same minimalist, unstyled screen. It fills the browser window with no exit button. I have to use <back> in the browser to get out of that screen.
When I uninstall AMM, the Conditions Manager does not get uninstalled. Is it possible the problem is with the Conditions Manager? There doesn't seem to be a way to uninstall it.
As a test, I renamed the "/administrator/components/com_conditions" folder via FTP and the Components link went away. I then reinstalled AMM and the folder and Conditions link came back. Unfortunately, the New Condition popup is still broken.
I'm not sure where to go from here. I have another J4 upgraded site, and in that one the AMM Conditions popup works as expected, so I know what it should look like.
Can you give me (super) admin and (s)ftp access so I can take a look?
You can use the 'Confidential information' button in the forum editor to hide sensitive information.
The Conditions extension does not get automatically uninstalled when you uninstall Advanced Module Manager, as it can be used by other extensions too (like ReReplacer Pro, Conditional Content, ...).
If you want to uninstall it, you can do that via the Joomla extension manager.
I can't reproduce this on your site either.
So it sounds like a local issue.
It could be that you have browser extensions active that are blocking certain CSS files from loading...
I just tested this in Firefox, Chrome, Edge, Vivaldi, and Opera browsers in Windows 11 with the same broken screen. Opera runs it in a VPN, bypassing any potential ISP filters (it was pretending to be in the Netherlands).
I have another Joomla 4 site I'm working on, and AMM works fine in there. It uses the same base setup (same core template, Gantry 5).
I tried turning off all my adblockers in Firefox, with no luck.
Just for completeness, I tested the site on my Macbook Air in Safari, with the same result.
The fact that you don't see the issue is confusing to me.
Do you have any suggestions about where I should go from here?
Just to be sure I am clear about this - when you open a new Condition on this site, you see the normal Conditions screen, not the one I did a screen capture of?
I was able to "fix" the problem temporarily. The site that had a broken AMM was running PHP 8.0.22. When I rolled it back to PHP 7.4.30, the Conditions form displayed properly.
When I tried PHP 8.x, the display broke.
What's puzzling is that the other Joomla 4 site I'm working on doesn't have this problem, and it's on PHP 8.0.22.
There is a difference in hosting, though, and so there may also be a difference in how the PHP was installed/configured.
This is of course a temporary solution for me as PHP 7.4 is EOL at the end of November, 2022, so I only have three months to move to PHP 8.
I'm not exactly sure what I'll do moving forward, other than hope that in the next few months something changes to "fix" the issue permanently.
Yes, I saw the correctly styled page on the Condition edit screen you see when creating a new condition.
Both via the Conditions component, and via a module when selecting "Create New Condition".
I would strongly advise against using PHP 8.0. Your host should provide PHP 8.1 !
Hi - I've updated the site to 8.1.9. I just logged in using the exact site and credentials provided to you in the hidden content (copy and paste), and the issue persists.
Could you please check one more time with the credentials provided.
I switched on Debug mode and checked the HTML output of the Condition edit page.
There I could see that there was an error originating from the codemirror editor via the JText function.
Meaning an issue with some language string.
First I updated your site to Joomla 4.2.0. This didn't fix it.
Then I saw you had extensions still needing updating. And one of them was the US English language package (which you have set as the default).
Updating that solved the issue.
Moral of the story: Make sure you have all your things uptodate ?