I need to change the a page layout based on content type this is how I was able to add page.tpl.php suggestions to a Drupal 6 theme.
References:
• Page templates depending on node type: https://drupal.org/node/249726
• NOTE D6 zen sub-theme: https://drupal.org/node/249726#comment-5823596
function THEMENAME_preprocess_page(&$variables) {
if ($variables['node']->type != "") {
$variables['template_files'][] = "page-node-" . $variables['node']->type;
}
}
?>
function THEMENAME_preprocess_page(&$vars) {
if ($vars['node']->type != "") {
$vars['template_files'][] = "page-node-" . $vars['node']->type;
}
}
?>
cp page.tpl.php page-node-CONTENTYPENAME.tpl.php