Errata (First Edition)
This page lists the errors found in the first edition of the book.
Chapter 8. The Theme System, Page 107
Wed, 04/18/2007 - 1:30am — mathiassites/all/themes/engine
sites/all/themes/engines
Typo
Chapter 8. The Theme System, Page 107
Wed, 04/18/2007 - 1:31am — mathiasthemes/engine/phptemplate
themes/engines/phptemplate
Typo
Chapter 8. The Theme System, Page 121
Thu, 04/05/2007 - 4:13pm — mathiasblock-user.tpl.php // Target all block output by user module.
block-user.tpl.php // Target all blocks output by user module.
Grammar tweak
Chapter 8. The Theme System, Page 123
Thu, 04/19/2007 - 8:25am — jvandykimplode(' É ', $breadcrumb)
implode(' › ', $breadcrumb)
The little arrow used to separate breadcrumb items was misprinted.
Chapter 8. The Theme System, Page 126
Sat, 04/28/2007 - 3:48am — soxofaanphptemplate_callback()
_phptemplate_callback()
typo
Chapter 9. Working with Blocks, Page 136
Thu, 03/27/2008 - 11:42pm — haylo75The text states, "pages: Defines the default pages the node should be visible on.".
pages: Defines the default pages the block should be visible on.
typo
Chapter 9. Working with Blocks, Page 141
Tue, 05/01/2007 - 11:57pm — lyricnzHere, we've defined the $delta IDs to be 0 for the OPending commentsO block and 1 for the OUnpublished nodesO block.
Here, we've defined the $delta IDs to be 0 for the "Pending comments" block and 1 for the "Unpublished nodes" block.
Some typography thing - quotes around the terms have come out with some O-with-a-slash character.
Chapter 9. Working with Blocks, Page 144
Sun, 05/04/2008 - 8:35am — TUcOnly return TRUE when $user->id is not 0.
Only return TRUE when $user->uid is not 0.
typo in the uid-property of the $user object.
Chapter 10. The Form API, Page 157
Tue, 10/23/2007 - 4:08am — archaeopteryxAt the end of the code example, the passage should not appear in bold, since it exists in the code example on page 154 already.
$form['submit'] = array(
'#type' => 'submit',
'#value' => t('Submit')
);
return $form;
Also, in line 8
$form['name']['user_name'] = array(
['user_name'] should not be in bold typeface.
Do not set mentioned code snippets boldface.
Minor error
[Note that user_name is in bold because it has changed; it is now nested inside a fieldset. -JV]
Chapter 10. The Form API, Page 159
Mon, 04/23/2007 - 4:59pm — jvandyk'</div>';
'</div>'
A semicolon is included in an array definition.
