O'Reilly logo

Drupal 7 Social Networking by Michael Peacock

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required