modxcms / fred

The friendly front-end editor for visual, drag-and-drop content building in MODX CMS
https://fred.modx.com
MIT License
58 stars 25 forks source link

Bugs found in Fred (MODX 3.0.1, Fred 2.0.2) #452

Open pashabyvolia opened 1 year ago

pashabyvolia commented 1 year ago

When creating a theme based on Fred, I noticed a few bugs (MODX 3.0.1, Fred 2.0.2):

p.s. The first two bugs are the most critical of all. If necessary, I can provide private access to the environment where the bugs described above exist.

matdave commented 1 year ago

There's a lot of unrelated things here. I'll try to cover these.

We didn't change much if anything at all with the frontend on Fred for MODX 3 vs 2, the screenshots appear like you have some styling conflicts. Is your site in MODX Cloud? We may be able to take a look if it is there.

It appears you have "remote": true, within your "settings" and not at the same level... it should be:

{ "remote": true, "settings": [] }

not

{ "settings": [{ "remote": true}] }

The Open Settings block appears to be blocked by your styles. I'm guessing you have an overflow hidden or something going on there.

We use Fred Import on a few sites in MODX 3, so I'm not sure why you are having issues without seeing your full call.

I'll check for the FredTheme to see if an issue was introduced in the latest version.

Modifiers will work, but without seeing your full call it's hard to tell what is going on. You may need to add an uncached value to the site_url attribute, e.g. [[!++site_url, since you are calling it within an uncached snippet.

pashabyvolia commented 1 year ago

Thank you @matdave for your answer, you helped me a lot and prompted me to look for the reasons. I will write about each point.

First, what is decided:

Failed to fix: