If I understand correctly, you may simply add a field rendered as a partial
(using underscore) and inside it use

<?php echo $sf_guard_user->getProfile()->getName()

Keep in mind that if user profiles haven't been JOINed in the listing query,
you will execute an extra query each time you call getProfile().

Cheers,
Francesco

On Fri, Mar 11, 2011 at 9:39 AM, Javier Garcia <tirengar...@gmail.com>wrote:

> Hi,
>
> for example I have created with symfony a module based on sfGuardUser.
> Now, in the list of elements of that module I want to show the
> sfGuardUserProfile columns (name, surname..).
>
> I know i can create a query, but is there any way just writing in the
> generator?
>
> sf 1.4/propel 1.6
>
> Javi
>
> --
> 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 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
>



-- 
francesco levorato aka flevour
http://flevour.net/ - @flevour
"Now while the blood is hot you should make your way with vigour to better
things." (Seneca)

-- 
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 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

Reply via email to