I was following along with this tutorial to develop my first extra, and I have gotten stuck here.
When I access the build file the same way it suggests, I get this error
Model directory not found!
So rereading over the example code and putting logs around the place, it seems like the issue is here
$sources = array( 'model' => $modx->getOption('sfcss.core_path').'model/', 'schema_file' => $modx->getOption('sfcss.core_path').'model/schema/superFastCSS.mysql.schema.xml' );
line 9 of the
I have figured out that the
sfcss is the namespace that is supposed to be created. I know it is also referenced inside of the class.php file, but that code hasn’t been called yet.
It doesn’t seem to be mentioned anywhere in the documentation about where this is supposed to be defined. I hope someone can give some insight?