1、sonata.admin.block.admin_list
`编辑:app/config/sonata.yml`
~~~
sonata_blocks:
default_contexts: [ cms ]
blocks:
sonata.admin.block.admin_list:
contexts: [ admin ]
sonata_admin:
dashboard:
blocks:
- { position: left, class: col-md-6, type: sonata.admin.block.admin_list }
~~~
2、sonata.block.service.text
`编辑:app/config/sonata.yml`
~~~
sonata_blocks:
default_contexts: [ cms ]
blocks:
sonata.block.service.text:
contexts: [ admin ]
sonata_admin:
dashboard:
blocks:
- { position: right, class: col-md-6, type: sonata.block.service.text, settings: { content: 内容 } }
~~~
3、sonata.block.service.rss
`编辑:app/config/sonata.yml`
~~~
sonata_blocks:
default_contexts: [ cms ]
blocks:
sonata.block.service.rss:
contexts: [ admin ]
sonata_admin:
dashboard:
blocks:
- { position: center, class: col-md-6, type: sonata.block.service.rss, settings: { title: Sonata Project's Feeds, url: http://sonata-project.org/blog/archive.rss } }
~~~
- 安装
- 配置
- web服务器
- DependencyInjection
- Serializer
- Ajax
- Annotation
- Controller
- Entity
- Components【组件】
- HttpFoundation【HTTP处理】
- Routing【路由处理】
- Form【表单处理】
- Validator【验证处理】
- ClassLoader【类加载】
- Templating【模板】
- Security【处理安全问题】
- Translation【语言翻译】
- Bundles【功能包】
- Doctrine
- entityManager
- entityRespository
- createQueryBuilder
- createNativeQuery
- find
- DoctrineBundle
- doctrine_config
- DoctrineFixturesBundle
- KnpMenuBundle
- KnpPaginatorBundle
- FOSUserBundle
- FOSRestBundle
- FOSCommentBundle
- FOSElasticaBundle
- SonataCoreBundle
- SonataBlockBundle
- SonataMediaBundle
- SonataAdminBundle
- DoctrineORMAdminBundle
- Sonata
- Install_Sonata
- Config_Sonata
- BlockService
- Custom_BlockService
- Custom_Admin
- Problems