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

Version: Free.
"Pick a page" semantics in CMP labels. Same behavior and data as relation. SearchAction and modal search built in.
Functionally same as relation. Page array is multirelation.
{
"name": "page",
"type": "resourcelist",
"label": "Page",
"tab": "Content",
"width": 100,
"active": true
}Same as relation.
Key page in the section data (picker stores only the selection):
{
"page": {
"id": 42,
"pagetitle": "About us"
}
}uri and context_key, but data stores id and pagetitle.{if $page.id}
<span>{$page.pagetitle|escape}</span>
{/if}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.