modxcms / revolution

MODX Revolution - Content Management Framework
https://modx.com/
GNU General Public License v2.0
1.36k stars 529 forks source link

Please put "modx-content-above" and "modx-content-below" in the list of regions in manager form customization #16442

Open SnowCreative opened 1 year ago

SnowCreative commented 1 year ago

Feature request

Summary

In the first versions of MODX 3 we couldn't put TVs underneath the content field. Assigning them to "modx-resource-main-left" added them below the content field. Now, we can't put TVs above the content field any more. In 2.8, assigning a TV to modx-resource-main-left put it above the content field, below the main top fields, and assigning it to modx-resource-content put it below the content field. In MODX 3, assigning TVs to modx-resource-main-left or modx-resource-content put them in the same place, below the content field, so there's no difference between these now in form customization.

Why is it needed?

There need to be options to put TVs either above or below the content field. If above, they should show up after the main fields in that panel (pagetitle, etc.)

Suggested solution(s)

It's weird that "modx-resource-content" is used both for the content field AND for the content panel in MODX versions below 3. That makes it impossible to distinguish between the field and the area. Since there is no real "modx-resource-content" region in 3.0, I suggest adding two regions, modx-resource-content-top and modx-resource-content-bottom for 3.0 to control where TVs can be located.

halftrainedharry commented 1 year ago

There exist the 2 regions modx-content-above and modx-content-below that you could use.

SnowCreative commented 1 year ago

There exist the 2 regions modx-content-above and modx-content-below that you could use.

Wow, really? I don't see those listed in the Regions list:

Screen Shot 2023-06-13 at 5 38 12 PM

halftrainedharry commented 1 year ago

I have no idea why they are hidden. But they exist since MODX 2.0.0.

SnowCreative commented 1 year ago

Hey, that even works in MODX 2.8. I never knew that existed because it's not in the list of regions.

SnowCreative commented 1 year ago

Looks like our posts crossed. Yes, this is great to know. I guess this request should be titled "Please put modx-content-above and modx-content-below" in the list of regions!