tjdraper / template-sync

Full file system template sync for ExpressionEngine
Other
8 stars 2 forks source link

Multi-site: Templates deleted for other sites on install #9

Open swels opened 7 years ago

swels commented 7 years ago

We have multiple sites. The addon deletes all templates of other sites which are not the current selected in the backend, while installing the addon.

We got also some "_global" folders inside the template folder, these are also deleted. eg. system/user/templates/_global_partials/ system/user/templates/_global_variables/

MrBrickTop commented 7 years ago

I had a similar problem. I added a site via MSM, and then later noticed that all of my templates from the original site were gone (from files structure and database). I copied the files in from a backup, and then expected Template sync to see them and add them back to the EE database. But that didn't happen. So now I have to restore the database and filesystem from backups.

I will be uninstalling and deleting Template Sync. As much as I like what this addon does, the risk is far too great, and the hassle it's causing is not worth the convenience offered. If this is resolved, I may consider trying again, but the thought of a site just going away accidentally is really scary to me.

dankingsley commented 5 years ago

Also just come across this problem where all my templates got deleted when I switched on MSM and switched between sites!