I have a table member where I store basic user info (address, phone, etc)
which has relations: sfGuardUser: { local: sgu_id, foreign: id }. I am
trying to modify memberForm to display the First Name, Last Name, Email,
Username, Password fields (from sf_guard_user) so users can change them.
class memberForm extends BasememberForm
{
public function configure()
{
$sguForm = new
BasesfGuardUserAdminForm(sfContext::getInstance()->getUser()->getGuardUser());
unset($sguForm['is_active'], $sguForm['is_super_admin'],
$sguForm['updated_at'], $sguForm['groups_list'],
$sguForm['permissions_list'] );
$this->embedForm('sgu', $sguForm);
#$this->mergeForm($sguForm);
$this->setWidgets(array(
...
But for the life of me nothing shows up in member/edit. I read various
tutorials
(http://www.symfony-project.org/blog/2008/11/12/call-the-expert-customizing-sfdoctrineguardplugin,
http://www.symfony-project.org/more-with-symfony/1_4/en/06-Advanced-Forms)
but no luck. Can anyone point me in the right direction? Thank you very
much.
Dmitry
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en