Theme engines

Theme engines control how certain themes interact with Drupal. Most users will want to stick with the default included with Drupal core. These contributed theme engines are not part of any official release and may not work correctly. Only use matching versions of theme engines with Drupal. Theme engines released for Drupal 5.x will not work for Drupal 6.x.

Smarty theme engine

djnz - December 2, 2004 - 17:19

A theme engine that allows you to use template files written using Smarty Template Engine syntax.

The 'default' template for this engine is box_grey_smarty, which is ported from the original box_grey theme.

Installation

Because of a drupal-contrib policy, a smarty installation is not currently included in default release tarballs. You can obtain a tarball already including Smarty in the libs directory here (4.6.x) or here (4.7.x).

Please see installation instructions for installation details.

Details

Directories 'configs' and 'plugins' are parsed for files if they exist in the theme directory as well as if they are in the main engine directory.

Overriding other theme functions is accomplished in a manner similar to that described for PHPTemplate.

Preferred Download Link for 4.6.x - smarty-4.6.0+libs_rel2.tar.gz

PHPTAL theme engine

phprf - November 25, 2004 - 00:35

Welcome to the best template engine on drupal.org! Ok...well, best in my opinion! Take a look below to see what I mean.

You'll need an installation of PHPTAL as a PEAR module or the latest zip file (http://phptal.org/download.html).

You can get the pear module by saying
pear install http://phptal.org/latest.tar.gz
and upgrade by saying
pear upgrade http://phptal.org/latest.tar.gz
on the command line.

PHPTemplate

adrian - November 2, 2004 - 12:23

A theme engine that allows you to use template files written in pure php. These template files do not need to be processed by the theme engine, and as such execute a lot faster than most other template engines. Another major advantage to using PHP as your template language, is flexibility, as the advanced user can access any information / functionality available in the Drupal API, and is not restricted to what the template engine / language allows him to do.

This is the default theme engine starting in Drupal 4.7. If you are using Drupal 4.7 and above, you don't need to download PHPTemplate here.

Several of the largest Drupal sites, such as Drupal.org and Spreadfirefox.com use PHPTemplate based themes.

The 'default' template for this engine is box_grey by Adrian Simmons.

Syndicate content
 
 

Drupal is a registered trademark of Dries Buytaert.