Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
docs:drupal:theming [2010/03/18 23:46] – created billh | docs:drupal:theming [2010/03/20 23:31] (current) – billh | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Theming ====== | ||
+ | Theming is the work necessary to take total control of the output/ | ||
+ | |||
+ | * [[http:// | ||
+ | |||
+ | ===== create the folder ===== | ||
+ | create a folder to contain your theme here: <drupal install>/ | ||
+ | |||
+ | ===== create a .info file ===== | ||
+ | see http:// | ||
+ | |||
+ | ===== .tpl.php files ===== | ||
+ | Create a page.tpl.php file to style the main layout of your site. Then create a node.tpl.php file to control the content output coming from your nodes. | ||
+ | |||
+ | ===== create a style.css file ===== | ||
+ | This will control the visual layout of your site. | ||
+ | |||
+ | ===== enable the theme ===== | ||
+ | Once your theme is roughly set up, you need to enable it in the drupal admin, under Administer-> | ||
+ | ===== clear-block ===== | ||
+ | Drupal has a build in css fix for when you need a containing element to always extend to the size of the floated children. | ||
+ | |||
+ | * see http:// | ||
+ | |||
+ | ===== clearing the cache ===== | ||
+ | Depending on the caching settings of your site, you many not see theming changes right after you make them. To fix this, you need to clear the cache at Administer-> | ||
+ | |||
+ | I didn't install it, but there is supposed to be a Dev module that provides an easy link or something to do this faster. | ||
===== External Links ===== | ===== External Links ===== | ||
+ | * [[http:// | ||
* [[http:// | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// |