1

How can I change fields/sections structure locally while having a live site and then upload the new structure, without wiping the production site? In Wordpress ACF you can just Sync the fields structure, here it seems I need to close down the website for development?!

3 Answers 3

1

There are lots of similar questions with good discussion on this:

What's the best practice for handling data migration and organization across development environments?

Recommended workflow when developing new websites

What's the best practice for upgrading a versioned Craft site?

Ultimately, we want to building something in core to help manage this and the upcoming Craft 3 has taken a step in that direction with Content Migrations.

1
  • none of them offer a simple solution for uploading only the fields structure..
    – Hontoni
    Feb 12, 2017 at 17:37
1

You may find Sprout's Import plugin useful in this regard.

1
  • It sais it supports all the data types except Fields. But thats exactly what I need, to sync the fields structure! not the data/content of Entries.
    – Hontoni
    Feb 13, 2017 at 13:19
1

Take a look at The Architect plugin. This allows you to export selected attributes (e.g. fields, field layouts, sections, entry types, asset sources, transforms, globals, users and user groups) as a JSON file and import them into another site/environment.

It works very well for exactly the use case you describe: migrating the changes in content structure, not content, between environments.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.