
- MODX 3
- PHP 8.2
- Vue 3


Result: an edit to the master shows up on linked pages. Requires PageBuilder Pro and capability library (a shared section library).
[[!PageBuilder]].library is on.libraryLocalFields is empty).libraryId on the source and the target. Copy inserts sections with no link.settings.libraryLocalFields).pbOnBeforeSave (saving a linked page updates the master).The catalog tab Shared blocks stays visible when the list is empty. Insert from there adds a linked section or a copy.
On the site the master merges with local fields. Without libraryLocalFields, local keys override the master. A Library write clears the pagebuilder/* HTML cache.
Source section hero, Title Shared heading. After Save as shared the local-fields list is empty, so the title is shared.
On the second page choose Link. In settings.libraryLocalFields mark title when that page needs its own heading. The other fields stay on the master. Copy inserts the same hero with no libraryId.
Change a master field that is not in libraryLocalFields and save the source resource. The linked page shows the same value. A field on the local list of the second page is left as you set it. A Library write clears the pagebuilder/* cache.
Pull with Copy, or delete the library item in the CMP. Processor: mgr/library/pull.