Not too bad

Grep Issue

Description of Erratum

  • grep -nHR --include=*.module 'View site reports' modules

    I am using the MINGW32 Git Bash command line tool in Windows Vista. The above command produces the following errors:

    grep: invalid option -- R
    grep: unrecognized option '--include=*.module'

  • Recommended Correction

  • To correct this issue I ran:
    grep -nHr 'View site reports' modules
    (note the lowercase r).

    Hope this is helpful to somebody!

  • "Wrap field in HTML" should be "Customize field and...

    Description of Erratum

  • The paragraph describing how to modify the output of a field, incorrectly specifies "Wrap field in HTML". As of Drupal 7.9, the checkbox is labeled "Customize field and label wrapper HTML".
    Additionally, the diagram below those directions does not show the "Customize field HTML" or "Customize label HTML" checkboxes.

  • Recommended Correction

  • update text and diagram accordingly.

  • Missing steps

    Description of Erratum

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

  • Recommended Correction

  • Give instructions for creating the additional fields.

  • "User: Name" not a valid filter criteria

    Description of Erratum

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

  • Download Drupal, then change directory, not other way around

    Description of Erratum

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

  • Recommended Correction

  • cd ~/workspace
    drush dl drupal --drupal-project-rename=formmsgs
    cd formmsgs
    drush si --db-url=mysql://root:rootpass@localhost/formmsgs

    Where "formmsgs" is the name used for your test site.

  • Recommended place to put Drush aliases file is kept a secret

    Description of Erratum

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

  • Recommended Correction

  • The recommended location is in a .drush folder in your home folder:

    ~/.drush/anjali.aliases.drushrc.php

    Other places drushrc files can be placed are covered in the chapter on Drush and, as mentioned in Drush's README.txt file, in example.aliases.drushrc.php.

  • Pages

    Subscribe to Not too bad