Installing sample content with your theme
Has anyone tried installing sample content with their theme? I would really appreciate any help. I'm stuck with an error "include(/vagrant/public/server/myc5/packages/mytheme/elements/dashboard/install.php): failed to open stream: No such file or directory" after clicking install. I think I made the right initiation calls.
protected $pkgAllowsFullContentSwap = true;
$ci = new ContentImporter();
$ci->importContentFile($this->getPackagePath() . '/content.xml');
i used a dummy content.xml
I got through the error but now I'm faced with another one. After clicking on the option to swap content and clicking install an error shows up that says something like concrete/package/user not found and it also didn't erase my database. I did the same for 5.6 and it went through no problem. I wonder if there might be something special I need to do for it to work on 5.7. Any thoughts?
Also, when do you think you could make a sample content generator addon for 5.7?
Thank you for addressing my problem.