Errata

Errata are an essential part of textbook publishing, and reader's contributions are especially welcome. To contribute, please register and add a new erratum page. An erratum has two components: 1) a description of the printed error, and 2) a recommended correction. Errata can include typos, mistakes, and unclear text. More general suggestions and comments should be posted as comments on the relevant chapter.

Pagesort descending Erratum Severity Date posted Chapter
15 Chapter 1: page 15 : Disabling Unneeded Modules

The book instructs you to disable the Color and Overlay modules. At press time, disabling the Color module left the Slate color in tact. However, Drupal has changed and this is no longer the case. Now it reverts to the default blue color.

Not too bad November 4, 2011 First Steps: Building a Drupal 7 site
159 Wrong field selected in View setup

Item #7 under the 'Building the Authors Headshot View' section contains an error - it says to choose 'Content: Image' as one of the fields, when actually it should be 'Content: Headshot'.

Not too bad December 1, 2011 Extending Your Site
163 Unclear item in ordered list / View configuration

Item #1 in the ordered list begins: "Go back to the profile view image display..." I don't understand what this is trying to say.

Minor miscommunication December 2, 2011 Extending Your Site
163 Erroneous View Page Display Elements

Contrary to the instructions on this page, there is no option to format the View as "Row style: Node (teaser)". No "Node" options whatsoever are available.

Similarly, there is no option to filter by "Node: Type = Profile" or "Node: Published = Yes".

There is also no available option to sort by "Fields: field_pagecount."

Not too bad December 2, 2011 Extending Your Site
174 Missing steps

Figure 8-21 shows setting the display options on the Chapter content type and shows several fields the chapter never told you to create. Figure 8-18 does the same. I know the book isn't supposed to detail every single step but I ran into problems when I tried to figure out how to follow here and would have appreciated some instruction. For example one of the fields not described is Internal name and this field is referenced on this page where you are told to enter a value into it when you create your first Chapter.

Not too bad February 3, 2012 Extending Your Site
258 Reverting features in update hooks requires a helper function

The tip on page 258 (Chapter 13, Putting a site online and deploying new features) does not work. The Features revert command needs some helper code wrapping around it, called straight it will fail.

Endangers life August 28, 2011 Putting Your Site Online, Staging and Deployment
370 Wrong jQueryUI for the draggable example

Wrong jQueryUI for the draggable example.

Minor miscommunication December 17, 2011 jQuery
371 Wrong jQueryUI for the droppable example

Wrong jQueryUI for the droppable example

Minor miscommunication December 17, 2011 jQuery
388 Typo in git example

In my printing of the book the example for git init reads...

it init
Minor miscommunication December 9, 2011 Introduction to Module Development
419 Example code doesn't work

theme('xray_help', array('text' => $output));
Does not return anything, and therefore causes function _xray_help_admin_appearance() to return nothing as well, generating no help text. (at least in drupal 7.9).

Major problem December 9, 2011 Introduction to Module Development
540 Download Drupal, then change directory, not other way around

In the instructions for rapidly downloading a test installation, the cd (change directory) command must follow the downloading of Drupal into the directory of that name.

Not too bad December 29, 2011 Writing an API Module
71 "User: Name" not a valid filter criteria

The instructions for creating a filter to limit the content to articles written by Bob is written as follows: "Select User from the Filter select box and select the User: Name filter from the list."

In my 7.10 installation of Drupal I don't see "User" as a choice in the Filter select box. I ended up using "Author uid" as the filter criteria. Perhaps I don't have the necessary module installed or enabled or perhaps Drupal changed this along the way.

Not too bad January 3, 2012 Building Dynamic Pages Using Views
79 Reference to 'Event' content type

Page 79 refers to an "Event" content type, but there is no such content type.

Not too bad December 8, 2011 Building Dynamic Pages Using Views
892 Recommended place to put Drush aliases file is kept a secret

In the section "Drush Aliases for All Sites Involved in the Upgrade", a location at which the shown aliases file can be placed so that Drush will read it was not mentioned.

Not too bad December 21, 2011 Upgrading a site from Drupal 6 to Drupal 7
906 Commit message for Diff module could be more clear

The git commit message
git commit -m "Diff module for helping show differences between features and content."
would be clearer as

Not too bad August 9, 2011 Upgrading a site from Drupal 6 to Drupal 7
91 "Hexadecimal" misspelled

In the description of the Color module, "hexidecimal" should be "hexadecimal".

Minor miscommunication December 10, 2011 There's A Module For That
93 Formatting error

The description of the User module and the introductory paragraph for the next set of core modules are formatted as a single bulleted paragraph, and the list of modules that follow (from Aggregator onward) are indented an extra level, giving the false impression that they're subsidiary to the User module.

Not too bad December 10, 2011 There's A Module For That
95 browser'' should be browser's

The description of Pathauto has a double apostrophe after the word browser. The line should be "... in the browser's address bar."

Minor miscommunication December 11, 2011 There's A Module For That
96 Incorrect use of possessive "URL's"

In the text about the Token module, the possessive "URL's" is used instead of the plural "URLs".

Minor miscommunication December 11, 2011 There's A Module For That
All Chapters in book and on site do not line up

Chapter 19 "Using Drupal's APIs in a module" and Chapter 20 "Refining your module" (probably among others) are not valid "chapters" in this errata submission form.

Major problem December 9, 2011 Introduction to Module Development
various Drupal.behaviors attach not working

I can't get the wrapping style that is recommended in the book to fire the jQuery:

Drupal.behaviors.myNameSpace = {
  attach: function(context, settings) { 
    $('.selector').interaction();
  }
};
Not too bad December 17, 2011 jQuery