Book Module
The Book module is one of the most useful of all Drupal modules due to its ability to add a high level of structure and organization to the content on your site. Its main function is to maintain a hierarchy of content and to offer a means of ordered navigation between them. These are the familiar previous, next, and up links that you can see at Drupal.org in the handbook for example, at http drupal.org node 22963 . Furthermore, the Book module has a content type of its own, called book pages.
Custom Visibility Settings
The first field on the block configuration page, Custom Visibility Settings, deals with the question of whether authenticated users should be able to customize which blocks are visible to them when they visit the site. The first option, Users cannot control whether or not they see this block, means essentially that the administrator-defined visibility settings are to be honored, and the user will not be given the choice to enable disable this block. The other two options, Show this block by...
Roles and Permissions
Drupal strives to offer fine-grained control over the access of content and the execution of actions. It is important that you, the site administrator, can decide exactly what each user is able to see and do on the site. To support this, all users are assigned roles and permissions. A role describes a profile or use case for a user or group of users. For example, you may have roles named Moderator, Editor, and Admin. Two roles are defined by Drupal by default The Anonymous User role is assigned...
Exercise 21 Block Offensive Usernames
Suppose you want to block all usernames that contain the text bad word. 1. Create a new rule by selecting access control gt account rules gt add rule admin access rules add . 2. Select Deny and Username, and then enter the mask bad word , as shown in Figure 2-3. permissions roles account rules list add rule check rules Matches any number of characters, even zero characters, _ Matches exactly one character. 3. Click the Add Rule button. Your rule is now in effect. 4. To test it and make sure it...
Configuring Site Settings
To begin configuring Drupal, make sure that you are logged in as the administrator the account that you created in Chapter 1 , and then select administer gt settings in the navigation block to get to the site settings page the URL to the page is When you access the site settings page, Drupal takes the opportunity to check some aspects of your installation in order to help you avoid problems. Because of this, you may be confronted with one or more messages when you access this page for the first...
Creating Drupal Content
In Drupal, there is a concept of a front page, which will be the page shown whenever your site is accessed with the value that you gave as the base_url, with no further path information. At the moment, with your freshly installed Drupal site that has no content, this front page will show the following message Welcome to your new Drupal-powered website. This message will guide you through your first steps with Drupal, and will disappear once you have posted your first piece of content. As it...
Contents at a Glance
About the About the Technical CHAPTER 1 Introducing CHAPTER 2 Configuring CHAPTER 3 Using the Drupal Core CHAPTER 4 Adding Contributed CHAPTER 5 Adding and Customizing CHAPTER 6 Maintaining Your CHAPTER 7 Introducing CHAPTER 8 Installing and Configuring CHAPTER 9 Touring phpBB's CHAPTER 10 Securing and Maintaining CHAPTER 11 Modifying CHAPTER 12 Styling CHAPTER 13 Introducing CHAPTER 14 Installing and Configuring CHAPTER 15 Starting to Blog and Building Your Community 401 CHAPTER 16 Changing...