SonataAdminBundle +样式无法正常显示

时间:2014-09-27 23:57:23

标签: sonata-admin sonata-user-bundle

任何想法为什么我的管理区域显示如下:

enter image description here

我安装资产没有问题。 这是我的config.ylm文件:

fos_user:
    db_driver:      orm 
    firewall_name:  main
    user_class:     Acme\CoreBundle\Entity\User

    group:
        group_class:   Acme\CoreBundle\Entity\Group
        group_manager: sonata.user.orm.group_manager

    service:
        user_manager: sonata.user.orm.user_manager

sonata_user:
    security_acl: true
    manager_type: orm

sonata_block:
    default_contexts: [cms]
    blocks:
        sonata.admin.block.admin_list:  # Enable the SonataAdminBundle block
            contexts:   [admin]
        sonata.user.block.menu:         # used to display the menu in profile pages
        sonata.user.block.account:      # used to display menu option (login option)
        sonata.block.service.text: # used to if you plan to use Sonata user routes

1 个答案:

答案 0 :(得分:0)

他们已将依赖关系从SonataAdminBundle转移到SonataCoreBundle(在github中查看this问题)。

在我的情况下,我在composer.json中完全没有明确要求sonata-core。