logo       

[symfony-users] How to use sfGuardUserProfile in backend form edit and filt: msg#00894

symfony-users

Subject: [symfony-users] How to use sfGuardUserProfile in backend form edit and filters?

Hi,

I have a module in my backend which manage the articles posted by registered users. Now in the list generator
I can use the peer_method to relate the user_id to his profile via doSelectJoinsfGuardUser, this will automagically
show FirstName.' '.LastName (according to the __toString method) in the Author column of the Article's list.

But how to have the same association work in the Filter where I have again a field where i can filter on the author
and in the edit form ?? What I get is the username but I want to get the Firstname.' '.LastName as provided by 
the doSelectJoins method above

any idea?

thanks
T.

--~--~---------~--~----~------------~-------~--~----~
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@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to symfony-users+unsubscribe@xxxxxxxxxxxxxxxx
For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | Mail Home | sitemap | FAQ | advertise