Drupal 6
Improve your Drupal theme markup with body classes
Since Drupal 6, a lot of the detailed markup as found in the excellent Zen theme framework has made its way into the default Drupal markup. More details about this feature can be found here http://drupal.org/node/163723 To use this feature for your theme just insert the variable $body_classes into your tpl files body opening tag <body> like this <body class="<?php ...Read more
How to create and use a Drupal template (tpl) file
Template files are used to overwrite the core Drupal output (or the output of a module that overwrites the core Drupal output). This can be for example useful if the layout of a particular content type, page, block or view can’t be easily fixed by a stylesheet. With a tpl file you can completely overwrite all output by using HTML/ ...Read more




Recent Comments