Thanks a lot guys, It works!
2010/3/21 Stéphane
> Hi,
>
> You could do an admin-gen for the sf_guard_user (overload the plugin's
> one), then embed the profile form in your sfGuardUserForm::configure();
> using $this->embedRelation("profile*"); and hide the user properties you
> don't want to sh
Hi,
You could do an admin-gen for the sf_guard_user (overload the plugin's one),
then embed the profile form in your sfGuardUserForm::configure(); using
$this->embedRelation("profile*"); and hide the user properties you don't
want to show (username, password, etc) using generator.yml configuration
Hi Fabrizio,
in action classes you can access the user with $this->getUser()->getGuardUser()
and the profile with $this->getUser()->getProfile(). In a template you can
access them with $sf_user->getGuardUser() ...->getProfile().
Cheers,
Lea
On Mar 21, 2010, at 17:06 , Fabrizio Scimia wrote:
>
Hello,
I'm learning to use symfony and I have a question related to user details.
I want to create a simple page that show the user details after the
authentication.
I created a frontend application and I installed the sfDoctrineGuardPlugin.
I enabled the modules sfGuardAuth,sfGuardUser,sfGuardG