Skip to content
Discussion options

You must be logged in to vote

You could set your fields’ propagation methods to “Custom”, and then set the propagation format to something like:

{{ object is instance of('craft\\elements\\Entry') and (object.section.handle ?? null) in ['sectionA', 'sectionB'] ? '*' : object.site.language }}

That will check if an entry is being saved, and if it's in either sectionA or sectionB (replace those with the section handles you want to always propagate).

If so, it will output * for all sites, so all sites will share the same content.

Otherwise, it will output the site’s language, causing the field to be translatable for each language. (Modify depending on what you want the fallback propagation strategy to be.)

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@mmikkel
Comment options

Answer selected by brandonkelly
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
3 participants