extending the initial profile page

Events happening in the community are now at Drupal community events on www.drupal.org.
irishgringo's picture

is there a way to change the profile fields before they are submitted as an applicaiton for an account? initially all you get is a uname and an email address. I would like to add name, address, phone... blah blah...
I kow that i can use profile as node, but all that data is collected AFTER you request an account. I want to get this data BEFORE they submit for an account.

Comments

Collecting additional profile fields upon registration

allella's picture

I have used the programmatic methods to collect additional information on the /user/register form and then save them to a node type. It sounds like that's what you're asking.

See for some Drupal 6 sample code that uses a form_alter hook to call drupal_execute to create the profile. Please note that I'm aware KarenS advises using node_save() instead of drupal_execute(). However, I've managed just fine on three different projects with drupal_execute().

http://drupal.org/project/con

Profiles as nodes

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week