PageBuilder
Visual section builder for MODX 3. Draft and publish without overwriting resource content

Version: Pro.
Row order preserved for curated lists. Same modal search as relation. Base for curated_products and similar sections.
Single resource fits relation. Static ids without picker possible via combo but no pagetitle enrich.
{
"name": "products",
"type": "multirelation",
"label": "Products",
"tab": "Content",
"width": 100,
"active": true
}Array of resources.
Key products in the section data: array of resources:
{
"products": [
{
"id": 10,
"pagetitle": "Product A"
},
{
"id": 11,
"pagetitle": "Product B"
}
]
}{foreach $products as $p}
<span class="related">{$p.pagetitle|escape}</span>
{/foreach}For fields with name that are stored in the section data:
| Key | Type | Role | CMP |
|---|---|---|---|
tab | string | Group subtitle in the inspector | yes |
width | 25–100 | Field width as % of the row (flex) | yes |
description | string | Hint under the label | yes |
default | any | Initial value for a new section | yes |
active | bool | false hides the field in the inspector | yes |
required | bool | Required on publish (draft still saves) | yes |
See fields overview.