trilbymedia / grav-plugin-flex-directory

Flexible plugin that allows CRUD functionality on complex data types
MIT License
39 stars 7 forks source link

Updating of a plugin was erasing my `entries.json` and reset blueprint #13

Closed Piterden closed 7 years ago

dm9876 commented 7 years ago

suspect you need to update file locations to point to somewhere else. (especially the blueprint one). I have put mine in the user/data/flex-directory/ directory together with the entries.json

json_file: 'user://data/flex-directory/entries.json' blueprint_file: 'plugin://flex-directory/blueprints/entries.yaml'

rhukster commented 7 years ago

Yup, you can't put your data files inside the plugin folder itself or they will get lost. Should be in your user folder somewhere.