Cms: [RFC] Propagation per entry

Created on 29 Apr 2020  Â·  9Comments  Â·  Source: craftcms/cms

Description

We're working on a complex multisite/multilanguage set-up with 100 sites from one Back-end.
What would really improve the user experience is an option to set propagation per entry with a ligthswitch. E.g: "Sync this entry with all other sites?"

You can disable them per site using the lightswitches on the right hand site, but in our use case this gives a lot of clutter in the cms and also unnecessary db calls. In some cases, disabling might not be what you want, especially if you have this many sites you probably want the entry not to exists in the other sites it's not supposed to for performance and sanity reasons.

content modeling enhancement internationalization performance

Most helpful comment

Just added a new Propagation Method option for Craft 3.5: “Let each entry choose which sites it should be saved to”.

A section’s Propagation Method setting, with the new “Let each entry choose which sites it should be saved to” option selected.

This works much like the “Only save entries to the site they were created in” option – when you initially create an entry, it will only be saved to the site you were looking at on the previous screen. But when you expand the status selector, you will find a new “Add a site…” option, which lets you add additional sites to the entry.

An entry’s expanded status selector, highlighting the new “Add a site…” option

If you are editing a draft, the new site will be added to the draft immediately, but won’t be added to the source entry until you’ve published the draft.

Here’s a video of it in action:

Video of the new propagation method in action

All 9 comments

Just added a new Propagation Method option for Craft 3.5: “Let each entry choose which sites it should be saved to”.

A section’s Propagation Method setting, with the new “Let each entry choose which sites it should be saved to” option selected.

This works much like the “Only save entries to the site they were created in” option – when you initially create an entry, it will only be saved to the site you were looking at on the previous screen. But when you expand the status selector, you will find a new “Add a site…” option, which lets you add additional sites to the entry.

An entry’s expanded status selector, highlighting the new “Add a site…” option

If you are editing a draft, the new site will be added to the draft immediately, but won’t be added to the source entry until you’ve published the draft.

Here’s a video of it in action:

Video of the new propagation method in action

You are: tha bomb

Looks great!

Thank you, great feature!

thanks @brandonkelly this is awesome! this commit closes my issue too.
one question:
if the author of 'off the vine' site is another person and restricted to edit only that 'off the vine' site, if he/she want to has this entry on 'happy lager', i suppose the only way is to ask author of 'happy lager' to add 'off the wine' site?
it is not a bad thing though, specially if 'happy lager' is main site and author in 'happy lager' has control over entries and sites.
actually i am thinking about a way for author of 'happy lager' and other enabled sites for that section to be informed about the entry and ask to have the entry for their sites via CP.

@vnali Whoops, sorry I forgot about that issue. It does indeed seem like the same request.

The answer to your question is yes – users are only able to add sites that they have permission to edit. So you would need someone with permission to edit two sites to be the one to add the entry to the second site.

@brandonkelly Is it possible to remove entries from sites they’re disabled in? We changed the propagation method of one of our pre-3.5 sections and are on a clean up mission. If there’s no UI for it, any other ideas for a database query or a migration?

@seidtgeist Yep it’s possible as of the upcoming 3.6 release – see #7190.

@brandonkelly Amazing, thank you and sorry for missing this!

Was this page helpful?
0 / 5 - 0 ratings