Make Region IDs in Customization Forms more understandable
Feature request
Summary
In the Customization Forms regions ID has incomprehensible logic, as it seems to me.
For example:
modx-resource-settingsandmodx-page-settings, why 2? In my opinionmodx-resource-settingsis not used at all.- There are seemingly clear areas -
modx-resource-main-left,modx-resource-main-right;modx-page-settings-leftandmodx-page-settings-right. But then an incomprehensible fragmentation begins:modx-resource-main-right-top,modx-resource-main-right-middleandmodx-resource-main-right-bottom, although the region on the left does not have splitting into top/middle/bottom.modx-page-settings-*hasmodx-page-settings-box-leftandmodx-page-settings-box-right- now boxes appeared.
Why is it so difficult?
Suggested solution(s)
I propose to create a fixed number of regions (2 columns by 3 rows) for "Resource", "Settings" and "TV":
modx-resource-main -- modx-resource-main-left --- modx-resource-main-left-top --- modx-resource-main-left-middle --- modx-resource-main-left-bottom -- modx-resource-main-right --- modx-resource-main-right-top --- modx-resource-main-right-middle --- modx-resource-main-right-bottom
modx-resource-settings -- modx-resource-settings-left --- modx-resource-settings-left-top --- modx-resource-settings-left-middle --- modx-resource-settings-left-bottom -- modx-resource-settings-right --- modx-resource-settings-right-top --- modx-resource-settings-right-middle --- modx-resource-settings-right-bottom
modx-resource-tv -- modx-resource-tv-left --- modx-resource-tv-left-top --- modx-resource-tv-left-middle --- modx-resource-tv-left-bottom -- modx-resource-tv-right --- modx-resource-tv-right-top --- modx-resource-tv-right-middle --- modx-resource-tv-right-bottom
Or we can make 3 columns by 3 rows (left-to-right: left, middle, right; top-down: top, middle, bottom).
Related issue(s)/PR(s)
https://github.com/modxcms/revolution/issues/13968 https://github.com/modxcms/revolution/pull/16052 https://github.com/modxcms/revolution/issues/14226
modx-resource-settingsis not used at all.
I use modx-resource-settings frequently to add TVs to the Document tab if I need to put them under both of the columns instead of inside one of the columns. This way, I can add full-width richtext fields there, for example. In some cases, I have resources that use a lot of custom text fields, and not the main Content field. Since there is no way to put TVs in the Content area when the content field itself is turned off, modx-resource-settings is the only way to do this.
Yes, I was wrong, modx-resource-setting can be used.
But in general, this is an issue about consistency, i.e. If there were regions with a clear name, it would be easier.
If there were regions with a clear name, it would be easier.
Yes, agreed!