Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Site Selection #19

Open
joelzerner opened this issue Mar 17, 2019 · 7 comments
Open

[Feature Request] Site Selection #19

joelzerner opened this issue Mar 17, 2019 · 7 comments

Comments

@joelzerner
Copy link

joelzerner commented Mar 17, 2019

Great work on this plugin!

I've recently begun using the plugin for a project with multiple sites and multiple site groups. My specific use case is to sync content between a Global EN and a US version of a site, however there are other translations and other sites present.

A great feature would be to have a site selector for the field setup, so the content sync would only occur between applicable sites.

For an interim solution, I'm using the plugin and have modified the $siteIds variable to be a manual array of the site(s) I want to update.

@timkelty
Copy link
Owner

@joelzerner yep, this would be an easy and useful addition.

For your uses, would you only want the site selection on the field settings, or would you want them on the field as well?

The most configurable I think would be field settings where you can select with sites are checked by default, but then you can always change it on the field. However, this may make the field more daunting/confusing that it already is.

@joelzerner
Copy link
Author

I would consider enabling site selection in the field settings only as my use case would always have the sites selected be consistent. However I can imagine a scenario where someone may want one entry to sync to all sites and another entry to only sync to one or none.

This leads me to another potential improvement I've discovered which I'll start a new issue for: #20

@timkelty
Copy link
Owner

@joelzerner if the selection is only in the settings, I would want still to be clear about which sites it was syncing with from the field, even if it just lists them.

@joelzerner
Copy link
Author

Sounds good to me!

@timkelty
Copy link
Owner

This also seems like it could be related to a custom "Translation Method" on your translatable fields…which I haven't really explored yet.

But as I understand it, it allows you do customize for which sites values get copied to.

However, I suppose we'd effectively be overwriting this setting on a per-entry basis, instead of per-field.

…just thinking out loud :)

@rob-c-baker
Copy link

This would be a great feature to have!

@timkelty
Copy link
Owner

timkelty commented Jun 6, 2020

Next time I'm back in the codebase, I'll take a look. Otherwise, PRs are welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants