Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. COMaybe I went about this the wrong way, but what I did was I created a new frontend "user" module with the same sfGuardUser schema, so I could have the usual index, show, edit, and new templates and their respective actions. I needed to do it this way to have precise control over how these users were created on the frontend by certain users. The downside apparently, is that the profile is not automatically created when a user is created. So, while elegant, your solution won't work for me. Can you suggest another work-around?
      singulars
    2. CO@patrik Check the edit, I create my users from a registration page, No admin view, only by calling $user->save(); and the profile is created immediately, associated to the newly created user. And the override of the save function will allow you to set the user type for every new profile only.
      singulars
    3. COI'm with you on the override save() function that you provided; I'm just hung up on the $user->save() you mention in the edit. The way it's set up now, is the form is processed in the actions class... see my update in the question. It's definitely not creating a user profile once the user is saved outside of the registration process provided by the pluggin. Also, I don't want every user to be designated with a type '4', just those users created using the frontend app I created. Does that make any sense? So I'm not sure what you mean by 'check the edit'.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload