Last updated August 26, 2009. Created by LeeHunter on July 26, 2005.
Edited by ronald_istos, sepeck, tclineks, Amazon. Log in to edit this page.
Smarty theme engine is a theme engine maintained by Travis Cline designed to easily use the Smarty Template Engine syntax in Drupal themes. It is largely ported from the PHPTemplate theme engine.
As it is a fairly direct port, referring to the PHPTemplate documentation is valuable in many cases: http://drupal.org/phptemplate
Similar to PHPTemplate, it uses individual something.tpl (note extension is .tpl not .tpl.php) files to theme Drupal's theme_something() functions. Drupal's themeable functions are documented on the Development Plumbing site.
Every file contains an HTML skeleton with Smarty tags for the dynamic data. Smarty tags are more human readable than embedded php code.
These themes have been converted from PHPTemplate format for use with the Smarty theme engine: