Symfony, Sonata Admin -
i try install sonata admin symfony. follow instruction of link http://sonata-project.org/bundles/admin/master/doc/reference/getting_started.html.
i choose file format admin.yml. when run php app/console assets:install
i got error
here admin.yml
acme/demobundle/resources/config/admin.yml
in extension file demobundle\dependencyinjection\demobundleextension (or whatever named it), should load configuration file loader\yamlfileloader, doing loader\xmlfileloader
class demobundleextension extends extension { public function load(array $configs, containerbuilder $container) { $loader = new loader\yamlfileloader($container, new filelocator(__dir__.'/../resources/config')); $loader->load('admin.yml'); } }
Comments
Post a Comment