
PageBuilder
Visual section builder for MODX 3: draft and publish without overwriting resource content
- MODX 3
- PHP 8.2
- Vue 3


Version: Free.
The yes/no control MODX editors already know. The section stores a yes or no value. For a simple yes or no it takes less space than radio.
Switch UI use toggle. Multiple labeled options need select, not yesno.
{
"name": "visible",
"type": "yesno",
"label": "Show",
"tab": "Content",
"width": 100,
"active": true
}Boolean.
Key visible in the section data:
{
"visible": true
}<div class="block">…</div>{if $visible}<div class="block">…</div>{/if}Aliases: boolean, listyesno, list_yes_no.
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.