Warning: INSERT command denied to user 'dbo248886814'@'212.227.119.181' for table 'drupalguides_watchdog' query: INSERT INTO drupalguides_watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:7:\"warning\";s:8:\"%message\";s:97:\"array_map() [<a href=\'function.array-map\'>function.array-map</a>]: Argument #2 should be an array\";s:5:\"%file\";s:67:\"/homepages/23/d181601631/htdocs/Drupal/modules/system/system.module\";s:5:\"%line\";i:1015;}', 3, '', 'http://www.drupalguides.net/Guides/6/.tpl.php', '', '54.224.197.251', 1508765231) in /homepages/23/d181601631/htdocs/Drupal/includes/database.mysqli.inc on line 128

Warning: INSERT command denied to user 'dbo248886814'@'212.227.119.181' for table 'drupalguides_watchdog' query: INSERT INTO drupalguides_watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:7:\"warning\";s:8:\"%message\";s:107:\"array_keys() [<a href=\'function.array-keys\'>function.array-keys</a>]: The first argument should be an array\";s:5:\"%file\";s:57:\"/homepages/23/d181601631/htdocs/Drupal/includes/theme.inc\";s:5:\"%line\";i:1771;}', 3, '', 'http://www.drupalguides.net/Guides/6/.tpl.php', '', '54.224.197.251', 1508765231) in /homepages/23/d181601631/htdocs/Drupal/includes/database.mysqli.inc on line 128

Warning: INSERT command denied to user 'dbo248886814'@'212.227.119.181' for table 'drupalguides_watchdog' query: INSERT INTO drupalguides_watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:7:\"warning\";s:8:\"%message\";s:39:\"Invalid argument supplied for foreach()\";s:5:\"%file\";s:57:\"/homepages/23/d181601631/htdocs/Drupal/includes/theme.inc\";s:5:\"%line\";i:1771;}', 3, '', 'http://www.drupalguides.net/Guides/6/.tpl.php', '', '54.224.197.251', 1508765231) in /homepages/23/d181601631/htdocs/Drupal/includes/database.mysqli.inc on line 128
DrupalGuides.net - Guides and tutorials for Drupal
  • warning: array_map() [function.array-map]: Argument #2 should be an array in /homepages/23/d181601631/htdocs/Drupal/modules/system/system.module on line 1015.
  • warning: array_keys() [function.array-keys]: The first argument should be an array in /homepages/23/d181601631/htdocs/Drupal/includes/theme.inc on line 1771.
  • warning: Invalid argument supplied for foreach() in /homepages/23/d181601631/htdocs/Drupal/includes/theme.inc on line 1771.
Title Nid
Naming template (.tpl.php) files This guide describes how to name template (.tpl.php) files in order to override the Drupal default. For example how to create a custom template for a specific block, user or module. 16
Theming a CCK node in Drupal This guide explains how to theme a CCK node using the node.tpl.php template rather than the Contemplate module. This involves accessing the node variables directly through PHP. The same principle can be used to theme any node type and this is especially useful for customising a Views or Views2 display. 52