[symfony-users] Re: Integrate sfGuardUser and sfGuardUserProfile in the same Admin-Backend Module

2009-05-29 Thread Campezzi

Hey Daniel,

Yup, embedding is the way. I was about to point you to this excellent
tutorial when you found the answer by yourself:

http://www.symfony-project.org/blog/2008/11/12/call-the-expert-customizing-sfdoctrineguardplugin

A good read, anyways.

Cheers!


On May 28, 7:55 pm, halla  wrote:
> I think, I figured out the way it works. I'm going to embed the
> sfGuardUser-Form in my sfGuardUserProfile-Form :-)
>
> On 28 Mai, 22:13, halla  wrote:
>
> > Hi everybody,
>
> > I'm using the sfDoctrineGuardPlugin and it's default Admin-Generator
> > Backend for the sfGuardUser-Model. I'm also using a sfGuardUserProfile-
> > Class for storing Profile-Data, like E-Mail Address, First Name, Date
> > of Birth and so on.
>
> > How do I integrate my Profile-Class to the sfGuardUser-Backend, so
> > that I can f.e. edit fields from both Tables (sfGuardUser and
> > sfGuardUserProfile) on the same page in the Backend? I don't want to
> > have two backend modules for that (one for the user and another for
> > it's profile)
>
> > Is there a way to do this? Or do you have a link for a tutorial or
> > something (didn't find anything on Google for this)...?
>
> > Thank you,
> > Daniel
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Integrate sfGuardUser and sfGuardUserProfile in the same Admin-Backend Module

2009-05-28 Thread halla

I think, I figured out the way it works. I'm going to embed the
sfGuardUser-Form in my sfGuardUserProfile-Form :-)

On 28 Mai, 22:13, halla  wrote:
> Hi everybody,
>
> I'm using the sfDoctrineGuardPlugin and it's default Admin-Generator
> Backend for the sfGuardUser-Model. I'm also using a sfGuardUserProfile-
> Class for storing Profile-Data, like E-Mail Address, First Name, Date
> of Birth and so on.
>
> How do I integrate my Profile-Class to the sfGuardUser-Backend, so
> that I can f.e. edit fields from both Tables (sfGuardUser and
> sfGuardUserProfile) on the same page in the Backend? I don't want to
> have two backend modules for that (one for the user and another for
> it's profile)
>
> Is there a way to do this? Or do you have a link for a tutorial or
> something (didn't find anything on Google for this)...?
>
> Thank you,
> Daniel
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---