-
- 5,888 Posts
There are two ways for exporting/importing MIGX-configurations
1. You can use the export/import - Button and copy the json-string to the export/import window of the other installation.
2. You can export to package -> Copy the exported files to the other installation into the same folder and run 'Import from package'
It is also possible to use the exported json-files directly without importing them into the grid.
You just need to specify the package with your query-parameters
&configs=configname:packagename
discuss.answer
-
- 5,888 Posts
Sorry, I modified your post instaed of creating a new one.
1. You can use the export/import - Button and copy the json-string to the export/import window of the other installation.
There's just nothing happening, no errors as well. (do i need to add something first?)
you really just need to create the configuration with the same name, save it and do export/import with the copied/pasted code and all configurations (tabs,columns and everything else) of that config should be imported
2. You can export to package -> Copy the exported files to the other installation into the same folder and run 'Import from package'
what would the syntax be?
Just click the Button 'Import from package' above the grid, add the name of the package into the modal and all configs found in that package-directory should be imported.
-
- 265 Posts
Thank you Bruno, i thought it would import the whole thing so i did not create the configuration with name only first.
Cheers!
-
- 2,204 Posts
So I tryed the add to package option, no new files are created... How does this work?
I like to export 2o configs in one package and import those on another site.
Even better is that I could export the configs including all chunks needed.
-
- 5,888 Posts
Creating packages with snippets, chunks, templates, plugins of one or more categories and everything else, what is in your core/components/yourpackage-dir, is possible with
https://github.com/Bruno17/migxElementsManager
-
- 5,888 Posts
your package is allready created (core/components/yourpackage), right?
So, there is no need to create this package again with 'Create package' in the MIGX-CMP
This does only create a folder to start with under core/components/ ,does nothing else.
To export your configs into that components-folder, you have to fill the field 'package' in the MIGXdb - setting of each config. Then click 'Export to package' in each config.
This creates json-files under core/components/yourpackage/migxconfigs/