import demo content during theme installation is not always a good idea. Mainly because you don't get an error message if something fails and if required plugins are not installed, the import fails too.
You need to reinstall theme if you want import demo data after plugin installation or use Database/Import Tools and manually select files
on that bootstrap4 folder is the example how I do it now. It's not perfect and it uses the help tab.
This is the reason why I am posted it here. Maybe a separate method import demo would be better.
example imports only install.xml. It would be great if it would offer all xml files inside the install folder and checkbox options what ones to import.
I did changes in boostrap4 theme to show what I am trying to do. https://github.com/e107inc/bootstrap4/commit/85731e3551e5226f289bd144a7ebea57158249a1
import demo content during theme installation is not always a good idea. Mainly because you don't get an error message if something fails and if required plugins are not installed, the import fails too. You need to reinstall theme if you want import demo data after plugin installation or use Database/Import Tools and manually select files
on that bootstrap4 folder is the example how I do it now. It's not perfect and it uses the help tab. This is the reason why I am posted it here. Maybe a separate method import demo would be better.
example imports only install.xml. It would be great if it would offer all xml files inside the install folder and checkbox options what ones to import.
Thanks