为什么有些奏鸣曲页面有两个不同的登录页面(看看)?
例如:我安装了最新的奏鸣曲管理员,用户......我有登录页面
如果我查看官方奏鸣曲管理员演示(http://demo.sonata-project.org/admin/login),那么登录页面就像
我需要一些额外的包装,设置......?
我的composer.json看起来像
"require": {
"php": ">=5.3.9",
"symfony/symfony": "2.7.*",
"doctrine/orm": "~2.2,>=2.2.3,<2.5",
"doctrine/dbal": "<2.5",
"doctrine/doctrine-bundle": "~1.4",
"symfony/assetic-bundle": "~2.3",
"symfony/swiftmailer-bundle": "~2.3",
"symfony/monolog-bundle": "~2.4",
"sensio/distribution-bundle": "~4.0",
"sensio/framework-extra-bundle": "~3.0,>=3.0.2",
"incenteev/composer-parameter-handler": "~2.0",
"friendsofsymfony/user-bundle": "1.3.6 as dev-master",
"sonata-project/admin-bundle": "~2.4@dev",
"sonata-project/doctrine-orm-admin-bundle": "~2.4@dev",
"sonata-project/easy-extends-bundle": "~2.1@dev",
"sonata-project/user-bundle": "~2.2@dev",
},
答案 0 :(得分:1)
这是因为在演示网站中他们使用了不同的样式,你可以覆盖所有的树枝模板,看看这里: