Closed marknotton closed 1 year ago
Layouts are stored in the project config, so they can in theory be migrated from project to project via a YAML file. Using the config files like a plugin does is technically possible, but just double handling. So it's possible, there's just not a nice UI for import/export.
Appreciate the ChatGPT question, but that's entirely fictional and doesn't work. You best bet is to copy the YAML files from project config.
I think for my purposes (and probably for most people), copying over the YAML files is all that's needed. I'm happy with this. Thanks!
ChatGTP making up plausible config suggestions is quite the testament for it can do; and reminder that it's just a language modal, not a "truth" machine.
What are you trying to do?
I'd like to carry over layout settings to multiple projects.
What's your proposed solution?
Add support via Crafts own configurations file.
It appears there is some logic in one of the migration files that refers to the config file already; however this doesn't do anything on fresh installations.
Strangely enough, when I asked ChatGTP about a way to accomplish this it made this suggestion:
I don't know if it made this up or has found reference to something online that I can't find. But it looks like a strong concept. If ChatGTP is referring to something that is "real" then perhaps this feature already exists and I just can't get it to work.
However, having found only one reference to querying the config file in the source code and this example coming from the imaginings of ChatGTP, I don't think this exists.
Additional context
No response