timkelty / craftcms-site-sync

Sync content to locales on element save.
MIT License
40 stars 9 forks source link

Plans on making this work with Matrix fields? #1

Closed superwick closed 7 years ago

superwick commented 8 years ago

Plugin seems to work fine with fields that aren't in Matrix blocks. I'm hoping to see a solution that work in Matrix. I understand Matrix is a complicated beast though. ;-)

timkelty commented 8 years ago

I haven't dug into that yet, but would like to. We will likely need that for the project I made this for, so I'll probably have to take a look in the coming weeks.

Until then - PRs welcome!

erktime commented 7 years ago

I had a need to see this working for matrix fields, and i dug in and found things to work with a small code change: https://github.com/timkelty/craft-localesync/pull/6

superwick commented 7 years ago

I can't believe it was that easy!

timkelty commented 7 years ago

Nice work @erktime! I'll try and review shortly and get it merged in.

timkelty commented 7 years ago

Included in 1.3 release. Thanks @erktime!