Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 431529
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T19:59:02+00:00 2026-05-12T19:59:02+00:00

I succeeded to create a register form, and now users can register my site.

  • 0

I succeeded to create a register form, and now users can register my site.
But I can’t create a form where users can edit their profile.

I have sf_guard_user and sf_guard_user_profile in my schema.yml

Does someone have an article about how to do that ? I tried few ideas without success.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T19:59:02+00:00Added an answer on May 12, 2026 at 7:59 pm

    The quick way to start is to create a frontend CRUD with the task

    ./symfony doctrine:generate-crud ie.

    ./symfony doctrine:generate-crud frontend user sfGuardUser
    

    (or you can just generate the profile form with the doctrine:build-forms task)

    From here you can customize the form. The most tricky part will be merging the two forms,
    the sf_gurd_user_form (the one with the password and the username) and the sf_guard_profile_form. If you want profile fields and user fields on the same form you should use embedded forms as stated here:

    http://www.blogs.uni-osnabrueck.de/rotapken/2009/03/13/symfony-merge-embedded-form/comment-page-1/

    A snippet from that blog page:

    class sfGuardUserForm extends BasesfGuardUserForm
    {
      public function configure()
      {
        parent::configure();
        $profileForm = new UserProfileForm($this->object->Profile);
        unset ($profileForm['id'], $profileForm['sf_guard_user_id']);
        $this->embedForm("profile", $profileForm);
      }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

According to this question I succeeded to create upload image, but now I need
I'm trying to create clean URLs on my website. Now I succeeded in configuring
Does anyone know (like in tried and succeeded) if I can have D2009 both
I have a such text to load: https://sites.google.com/site/iminside1/paste I'd prefer to create a python
Can someone explain this result to me. The first test succeeds but the second
I'm trying to create a basic application, i created facebook application before but everything
I'm trying to create a regex containing character set which can contain a period
I'm trying to write some python code which can create multipart mime http requests
I've run this code in MySQL, and it's succeeded. But when I run it
I am trying to create an email report to display a list of failed/succeeded

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.