/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/** * Override or insert PHPTemplate variables into the templates. */ function phptemplate_preprocess_page(&$vars) { // Add per content type pages // Add template naming suggestion. It should alway use hyphens. // If node type is "custom_news", it will pickup "page-custom-news.tpl.php". } }
URL: http://at-byte.com/technology/drupal-6-custom-content-type-page-theme
Comments
