Skip to content
  1. Extras
  2. PageBuilder

PageBuilder

Sections tab on a resource

You build the page from sections in the Sections tab in MODX. While you edit, changes stay as a draft. After Publish, the same layout goes live. The resource Content field is not used for sections. On the storefront, the PageBuilder snippet renders the blocks.

Sidebar groups: getting started, editor, frontend, Pro, developer notes, plus separate lists of field types and sections. Start here: Quick start.

Features

Resource editor

On the Sections tab you get a block table: add from the catalog, drag-and-drop and Alt+↑/↓, duplicate, copy sections from another page. Deleted sections go to the page trash; you can restore or clear them. The inspector edits content and settings. Draft preview opens in a drawer via a signed link, without publishing. Undo/redo works in the current session. Before publish, the editor validates required fields and opens the inspector on the first error.

Draft and publish

Edits go to the draft. After Publish, the same layout goes live. Unpublish clears the published version; the draft stays. On save the server checks the revision number so concurrent edits do not overwrite each other.

Free: sections and fields

11 built-in types: hero, richtext, gallery, faq, cta, cards, contact, stats, testimonials, image, spacer. In the CMP you can edit the catalog, hide built-in types, and add custom ones via JSON (pagebuilder_manage_types). 30 field types in the inspector: text, richtext, repeater, file, select, and more. Some fields support per-breakpoint values (responsive).

PageBuilder Pro

Global section library, version snapshots and event log, presets, Agent API for scripts and agents. CMP Basket restores deleted sections and table rows across resources. Pro catalog: features, video, team, tabs, maps, forms, miniShop3 commerce blocks (product grids, brands, pricing, and more). 20 more field types: gallery, map, relation, table, embeddedTable, and more.

Resource tables

The Tables tab stores large row sets in the DB: filters, CSV/JSON import, bulk delete. On the storefront, PageBuilderTableRows outputs rows. The data_table section (Pro) embeds a small table in the section JSON.

UTM and contexts

Set up a UTM registry in the CMP. In section settings you can limit output by MODX context and UTM. Snippets PageBuilderUtmSession and PageBuilderUtmUrl help on landing pages. Fields support the {{utm:key}} placeholder.

Collections and CMP

With collections_enabled, resource tabs (sections, tables, iframe, and more) are configured in the CMP. Extras → PageBuilder lists resources with sections and manages section types.

Snippets, Public API, and events

PageBuilder outputs section HTML, PageBuilderResource renders another resource’s sections, PageBuilderSitemap builds an XML sitemap. Public API returns published sections as JSON for headless frontends (api.php). pbOn* events hook plugins into save, publish, render, and section type registration. See workflow, cmp, pro.

Requirements

RequirementValue
MODX Revolution3.0.3+
PHP8.2+
VueTools1.1.2+ (manager editor)
pdoTools3.0+ (Fenom in section chunks)
miniShop3optional, for Pro catalog sections

Packages

ExtraVersionContents
pagebuilder1.0.1-betaFree: core, 11 sections, CMP, snippets
pagebuilderpro1.0.1-betaPro: requires pagebuilder ≥ 1.0.1, extended catalog and features

MODX namespace: pagebuilder.

NeedDocument
Feature overviewKey features
Install and first pageQuick start
All pagebuilder_* keysSystem settings
Draft, publish, basketWorkflow
CMP: Blocks, UTM, Collections, Pro basketCMP
Permissions, pbOn* events, data modelManager and events
Template, preview, snippet cacheFrontend output
CSS tokens and section BEMDesign system
JSON for headlessPublic API
Snippets and parametersSnippets
Pro featuresPageBuilder Pro
Scripts and agentsAgent API
Custom sections and extensionsDeveloper
50 inspector field typesField types reference
34 built-in blocksSection catalog
TroubleshootingFAQ

Entry points

URL / pathPurpose
CMP pagebuilderindexResource catalog with sections, section types (Pro)
assets/components/pagebuilder/connector.phpMGR API (VueTools)
assets/components/pagebuilder/preview.phpDraft preview in iframe
assets/components/pagebuilder/api.phpPublic API: published sections as JSON (headless)
Snippet [[!PageBuilder]]Published section HTML on the site

Permissions

PermissionPurpose
pagebuilder_viewSections tab, catalog, preview token
pagebuilder_saveSave draft and publish (fallback: save_document)
pagebuilder_manage_typesCMP “Section types” (no fallback to view)

Access to a specific resource is also checked by MODX policy (view, save).