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


Result: a price list or a schedule is edited on the Tables tab. The section on the site only points at table_key. Several sections can read one table.
pagebuilder_resource_tables_tab_enabled is on. The Tables tab is a Free setting.data_table section requires PageBuilder Pro.[[!PageBuilder]].data_table. In Table set table_key, in Limit set how many rows to show. The section inspector does not edit the rows.PageBuilderTableRows snippet with the same table_key.On the Tables tab the key is prices, with two price rows. In the data_table section set Table to prices and Limit to 10. An empty limit becomes 20 in the chunk.
A second data_table on another page points at the same prices. Rows are still edited on the Tables tab, not in the inspector.
The site shows rows from table prices, up to the limit. Edit a row on the Tables tab and Save the resource. Both sections that use this table_key change.
Delete the section. The table stays on the resource until you delete it on the Tables tab.