
- 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, linked, and an empty libraryLocalFields. The source resource needs the save permission. Copy inserts sections with no link.settings.libraryLocalFields).pbOnBeforeSave.The catalog tab Shared blocks stays visible when the list is empty. Insert from there always links the section to the master (libraryId, linked, empty data). A copy with no link exists only in Copy mode.
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 block 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.
Pull with Copy, or delete the library item in the CMP. Processor: mgr/library/pull.