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 enter image description here

here admin.yml

acme/demobundle/resources/config/admin.yml

enter image description here

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

Popular posts from this blog

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -