e107inc / e107

e107 Bootstrap CMS (Content Management System) v2 with PHP, MySQL, HTML5, jQuery and Twitter Bootstrap. Issue Discussion Room: https://gitter.im/e107inc/e107
https://e107.org
GNU General Public License v3.0
321 stars 213 forks source link

FR - import theme demo content after theme installation #3890

Open Jimmi08 opened 5 years ago

Jimmi08 commented 5 years ago

I did changes in boostrap4 theme to show what I am trying to do. https://github.com/e107inc/bootstrap4/commit/85731e3551e5226f289bd144a7ebea57158249a1

  1. 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

  2. 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.

  3. 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

CaMer0n commented 4 years ago

Good idea @Jimmi08