Import own XML content with Layouts in Areas
Permalink
Hi everyone,
is it possible to import Layouts from Areas through the importContentFile() function in concrete/core/libraries/content/importer.php respective
Loader::libraries('content/importer') ?
By using the export functionality of the "Generate Install Data Package" the Layout Areas are in the generated XML file with all blocks. But the importer leaves all blocks that are in Layouts empty.
The generated XML has something like <area name="Content : Layout 1 : Cell 1">
And that Area does not exist and the importer never creates it.
So is there a way to add Layouts for Areas for each Page into the XML that gets parsed before the Areas get filled with the blocks?
Thanks in advance,
dosde
is it possible to import Layouts from Areas through the importContentFile() function in concrete/core/libraries/content/importer.php respective
Loader::libraries('content/importer') ?
By using the export functionality of the "Generate Install Data Package" the Layout Areas are in the generated XML file with all blocks. But the importer leaves all blocks that are in Layouts empty.
The generated XML has something like <area name="Content : Layout 1 : Cell 1">
And that Area does not exist and the importer never creates it.
So is there a way to add Layouts for Areas for each Page into the XML that gets parsed before the Areas get filled with the blocks?
Thanks in advance,
dosde