1

I'm new to symfony2 & I'm writing an application that requires to have 2 different user types. one is normal user & the other is the one which has same fields as user plus some other extra fields. we design it with foreign key & one-to-one relationship. Now I don't understand how to build two different registration forms with the functionality of FOSUserBundle.i mean i don't know how to override RegistrationController for this purpose

thanks for your answer :)

4

2 回答 2

1

我会推荐使用PugxMultiUserBundle。我认为这正是你所追求的,我一直在我的一个项目中使用它,它就像一个魅力!

于 2013-02-03T15:12:24.123 回答
0

您可以使用 RollerworksMultiUserBundle: https ://github.com/rollerworks/RollerworksMultiUserBundle

于 2013-11-25T22:20:49.410 回答