Goldinteractive / craft3-sitecopy

With this plugin you can copy the content of an entry to another site.
MIT License
22 stars 6 forks source link

Can't copy to multiple sites at once. #5

Closed mijewe closed 4 years ago

mijewe commented 5 years ago

It would be good to be able to copy to multiple sites at once, but the menu of sites are radios, not checkboxes.

Would this be possible?

christianruhstaller commented 5 years ago

It would be possible but this would be quite resource hungry. As for now what happens is that we simulate a save on the specific entry with the copied content. Depending on the hosting this could take a long time and maybe result in a timeout.

The solution could be in using a queue. And see how it works. For now we add it as an enhancement.

amityweb commented 4 years ago

Is there an update to this? I have a customer who will want to copy content to many other language sites the same time, so could it be added? Guess all it needs is checkboxes then a loop through them instead of one main process on a radio item. Thanks

christianruhstaller commented 4 years ago

We will implement this feature. It should be released in the next week or so.

amityweb commented 4 years ago

I can see it does take a bit of time for just one site so agree it would not be good to have multiple sites unless you send it off to the queue. Its not that urgent for my site now actually, they will do one at a time.

christianruhstaller commented 4 years ago

We released the version 0.4.0 and now it's possible to copy an entry to multiple site at once. This uses the queue and it can be that it needs a little bit time until all of the copies are finished. https://github.com/Goldinteractive/craft3-sitecopy/releases/tag/0.4.0