Priya Shah schreef:
Hello,
I am trying to figure out the ideal solution for enabling the generation of a User's profile without actual Wiki editing. It is easier to add forms for various categories but User seems like a special case. If I created a Person category, I could do a template and semantic form and programmatically generate content based on either an html form, a semantic form, a rich client, or even by converting from an existing information in a different format. I am not sure how to do so with a User. It does feel like an overkill to go to a Person category when User exists, especially since I will either have registered users as person entities or other special types of persons like Authors (in which case I might as well have an Author category).
Essentially I want to generate special content in case of registration right in the User's page based on more questions that I'd ask them during registration.
What would you recommend?
I don't think you need the API for this. You could use a hook to add stuff to the registration form, and when processing that on submit, you could either throw it in the database somewhere or edit it into a wiki page using Article::doEdit().
Roan Kattouw (Catrope)