Hi You can make two tables for storing profile information, for example company_profile and candidate_profile with foreign key to user id. Than, you can generate models for them. Than you should create two user groups like "candidates" and "companies" using sfGuardPlugin
In the settings you should write: all: sf_guard_plugin: profile_class: sfGuardUserProfile profile_field_name: user_id Then create sfGuardUserProfile with public method getProfile() and in this method you should only check in what user group is your user object exist and then return needed object of two models that you generated for tables "candidate_profile", "company_profile". So $this->getUser()->getProfile() Should return you needed profile (company or candidate) 2008/7/10 pghoratiu <[EMAIL PROTECTED]>: > > Hi! > > I'm looking into using the sfGuardPlugin to manage the users for my > site (a job site), with 2 type of profiles: > * candidates > * companies > I've read the documentation for the sfGuard plugin and as i understood > I can store there a single type of user profile using > sfGuardUserProfile class. > In case I want to store different type of information (different types > of profiles) what are my options? > > Best regards, > > gabriel > > > > > -- С уважением, Савин Дима --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---