Sometimes mistakes happen. Please tell us if you find a mistake in Front End Drupal so that we can fix it for next time!
Second Printing
- page 124
- In the code sample the variable $region_footer should be named $footer.
- page 135
- $templates[] = $template_name is missing a ;
Discovered by Jeff Davidson.
- page 179
- The template file is listed at the bottom of the page should be
views-view--All_Goblins.tpl.php, not views-view.tpl.php.
First Printing
- page 50
- g. eagle noticed the screen shot references the link module, but no instructions were given to install this module. Good eye!
- page 208
- In the last code snippet, the first line should read as follows:
if (in_array('content editor', array_values($user->roles))) {
reported by Keyz. Thanks!!
- page 209
- In the first code snippet, the first line should read as follows:
if (! in_array('content editor', array_values($user->roles))) {
In the first code snippet, the last line should read as follows:
}
reported by Keyz. Thanks!!
- page 230.
- the PHP function
in_array() should be written as follows:
if (in_array('administrator', array_values($user->roles))) { // ...
reported by Keyz. Thanks!!
- page 392-395
- All quotes in the HTML source should be "straight quotes."
reported by nadavoid