subtheme

How to build your own sub-theme (6.x-1.x)

Last modified: November 11, 2009 - 09:22
NOTE: Before going through all the steps manually you might want to check out this - Automated ways to build a sub-theme (6.x)
IMPORTANT: In Drupal 6, the theme system caches template files and which theme functions should be called. What that means is if you add a new theme or preprocess function to your template.php file or add a new template (.tpl.php) file to your sub-theme, you will need to rebuild the "theme registry." See http://drupal.org/node/173880#theme-registry

Drupal 6 also stores a cache of the data in .info files. If you modify any lines in your sub-theme's .info file, you MUST refresh Drupal 6's cache by simply visiting the admin/build/themes page.

Syndicate content
 
 

Drupal is a registered trademark of Dries Buytaert.