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

Version: Free.
Three related props in one field. UTM placeholders in url. Ready object for <a> in chunk.
URL-only fits url. Multiple buttons use repeater with nested button or text+url.
{
"name": "cta",
"type": "button",
"label": "Button",
"tab": "Content",
"width": 100,
"active": true
}Object { label, url, target }.
Key cta in the section data:
{
"cta": {
"label": "Learn more",
"url": "https://example.com",
"target": "_blank"
}
}<a class="btn" href="{$cta.url|escape}" target="{$cta.target|escape}">{$cta.label|escape}</a>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 |
url.See fields overview.