Cover by Dylan James

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

O'Reilly logo

Building a grid view of profile pictures

By default, in Drupal, there is no default output of the users registered on the site. In this recipe, we will create a staff-listing page which displays the profile pictures of all staff members above their names and job titles.

Getting ready

Before starting this recipe you will need to install the latest recommended releases of the following two modules:

Once you have installed these modules, enable the following features:

  • Chaos tools
  • Views
  • Views UI

How to do it...

In this recipe, we will first add some extra fields to the user profile; we will also be adding a new Employee user role. We will then make a View to display the staff members in a grid ...

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