![]() |
|
Snippets |
|
If you want add a column to sfGuardUserProfile's list view for show a link to sfGuardUser's edit view:
Create a partial : site.com/apps/backend/modules/sf_Guard_User_Profile/templates/_user.php
And put this:
<?php echo link_to($sf_guard_user_profile->getSfGuardUser()->getUsername(), 'sfGuardUser/edit?id='.$sf_guard_user_profile->getSfGuardUser()->getId()) ?>
PD(It's not very much, but it is my first snippet)