December 4, 2008

Dynamic Theming in Drupal 6 - Part 1

Author: JT Smith

The Drupal system, when combined with the PHPTemplate engine, gives you the ability to create logic that will automatically display templates or specific elements in response to the existence of certain conditions. In this two part article we will look at running multiple templates, and at creating dynamic elements and styles. Among the techniques covered in these articles ( Part 1 and Part 2 ) are: using suggestionsââ¬ânaming conventionsââ¬âto control template display, the use of $body_classes to create dynamic styling, and the implementation of the preprocessor function.



  • Open Source
Click Here!