FosUserbundle and symfony 2 template and edits

后端 未结 2 1675
清歌不尽
清歌不尽 2021-01-07 09:27

I am new to symfony 2. I have just setup with basic FOSuserbundle. But I have a few problems:

  1. I have setup the new layout template but I could not find wher

2条回答
  •  一个人的身影
    2021-01-07 10:30

    @Anton has the correct answer for the first part of your question but to answer the second part, if you can view your profile from /profile you can edit by going to /profile/edit in your browser.

    There is no edit link on the default profile form. If you want one, you'll need to take the advice of @Anton and copy the default form template(s) and paste them into a directory with the same name in your bundle.

    As @Anton already pointed out, all of the details on how to do this are in either the master documentation or the documentation for version 1.2.0 (which you will need if you are using Symfony 2.0.*

提交回复
热议问题