Creating customizable user profiles
The provisions within Drupal for dynamically extending the fields available for content aren't just limited to content; we can also change the fields related to a users profile. These fields can be set up to allow the user to add another instance of the field. If for example, we have a field for the name of their dinosaur, they could duplicate this to add one for each of their dinosaurs. However, it doesn't support duplicating a group of fields (such as dinosaur's name, breed, date of birth, and hobbies), so we will use a field collection (a module we downloaded) for that.
From our initial planning earlier in this chapter, there are two fields we can create using the default field functionality—location of the user, and their web address:
To manage the fields associated with a user's profile, we need to go to Configuration | People | Account settings and then click the MANAGE FIELDS tab:
From here we can add fields just as we did to content types earlier...