O'Reilly logo

Drupal® 7 Bible by Brice Dunwoodie, Ric Shreves

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

Chapter 25. Configuring User Registration

IN THIS CHAPTER

  • Enabling user registration

  • Managing notifications

  • Working with the user login function

  • Styling the display

Adding users to your Web site can be done by either the administrator or by the users themselves. In the default system, both methods are enabled. This means that visitors to the site can create their own accounts and thereafter become members of your Web site, with all the privileges assigned to the Authenticated user role. Administrators can also create users and indeed have much greater power to assign users to roles and to give users permissions to access contents and functionality.

In this chapter, I focus on how you can use the mechanisms that allow users to register and create their own accounts on your Web site. I also cover related functions like the Login block and the Request Password functionalities.

Enabling User Registration

Drupal's default configuration allows visitors to a Web site to create their own accounts without intervention of the administrator. Obtaining a new user account is simple; a user simply clicks the Create new account link on the Login block, as shown in Figure 25.1, and then completes the form on the page that loads in the browser.

On the Login block, the links to both the Create new account and the Request Password functionalities are below the login form.

Figure 25-1. On the Login block, the links to both the Create new account and the Request Password functionalities are below the login form.

The page that loads in 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