Dynamic sections and block data is reverting/disappearing

solsolomon
Tourist
3 0 1

I'm building out a new theme (not live) and entering the content into dynamic sections (for the homepage) and custom content blocks for the pages.  The data randomly disappears or reverts to an older state.   

 

Is this because I'm entering data into a theme that isn't live yet?  Do other themes re-seed with fresh data?  Any advice here would be greatly appreciated.  Thanks!

0 Likes
solsolomon
Tourist
3 0 1

One of my developers just answered this for me.  Duh.  For anyone else out there having this problem, here's what is happening...

 

Data from your theme's dynamic sections and section blocks are not stored in a database, they are stored in a json file in config/settings_data.json.   Just make sure you don't overwrite the live copy with an old version on your local machine.  Save this file live file along the way as well.

cpozo
New Member
1 0 0

Thanks for the info I was having the exact same issue ! 

0 Likes