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?!

Hontoni
  • 111
  • 4

3 Answers3

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.

Brad Bell
  • 67,440
  • 6
  • 73
  • 143
1

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

Nathan D Huening
  • 355
  • 2
  • 10
  • 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 '17 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.

Steve Rowling
  • 3,443
  • 10
  • 24