Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
docs:drupal:theming [2010/03/19 00:25] billhdocs:drupal:theming [2010/03/20 23:31] (current) billh
Line 18: Line 18:
 ===== enable the theme ===== ===== enable the theme =====
 Once your theme is roughly set up, you need to enable it in the drupal admin, under Administer->Site Building->Themes. Once your theme is roughly set up, you need to enable it in the drupal admin, under Administer->Site Building->Themes.
 +===== 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.  To use this, simply give the container a class of clear-block.  This avoids the common fixes such as placing a div after the floated elements with "clear: both;".
 +
 +  * see http://drupal.org/node/380906
 +
 +===== 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->Site Configuration->Clear Cached Data
 +
 +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://drupal.org/theme-guide|Theming Guide]]   * [[http://drupal.org/theme-guide|Theming Guide]]
   * [[http://drupal.org/node/17565|Theming nodes by content type]]   * [[http://drupal.org/node/17565|Theming nodes by content type]]
 +  * [[http://drupal.org/node/190815|info about core template files]]
 +  * [[http://drupal.org/node/19828|info about regions, blocks, etc...]]
 +  * [[http://drupal.org/node/21716|custom home pages]]
  • docs/drupal/theming.1268979906.txt.gz
  • Last modified: 2010/03/19 00:25
  • by billh