Symfony 3 + FOSUserBundle - Overriding template

你。 提交于 2019-12-08 12:04:10

问题


I have installed Symfony 3.2 and FOSUser dev-master. I would like to override FOSUser templates in my custom bundle using my bundle as child of FOSUserBundle.

Unfortunatelly this not works.. This overriding way works correctly for controllers, but not for templates.. when I used first way to overriding templates (in app/Resources...) it worked, but second way described in documentations (custom bundle) not works..

Does somebody know why?

Doc link: http://symfony.com/doc/master/bundles/FOSUserBundle/overriding_templates.html

I see that in doc for the newest version second way is there, but it isn't described like it was in older version (1.3)..

is it removed in the newest version (2.0) ?

Unfortunatelly, I can't use older FOSUser version for Symfony 3... ;/

来源:https://stackoverflow.com/questions/41572723/symfony-3-fosuserbundle-overriding-template

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!