简体   繁体   中英

SONATA ADMIN BUNDLE CREATE A BLOCK HOME PAGE

I have a little problem to realize my own block on the home page of the dashboard. I tried to follow this tutorial : https://sonata-project.org/bundles/block/master/doc/reference/your_first_block.html

But I have get the following error message:

An exception has been thrown during the rendering of a template ("The block service sonata.block.service... does not exist") in ...

Has someone else experienced this same issue, and/or knows how to fix this?

I see you have sonata.block.service.allrequests in your config.yml and sonata.block.service.lastrequests in your services.yml . Shouldn't they be the same?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM