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.

PHPTAL theme engine

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.

VersionDateLinksStatus
6.x-4.02009-Oct-01Recommended for 6.xThis is currently the recommended release for 6.x.
5.x-1.02007-Feb-01Recommended for 5.xThis is currently the recommended release for 5.x.
4.7.x-1.x-dev2006-Nov-13Development snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.

Smarty theme engine

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

VersionDateLinksStatus
6.x-2.02007-Oct-25Recommended for 6.xThis is currently the recommended release for 6.x.
5.x-0.12007-Aug-25Recommended for 5.xThis is currently the recommended release for 5.x.
4.7.x-1.x-dev2007-Sep-04Development snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.

XTemplate

The XTemplate theme system uses templates to layout and style Web pages. It separates logic (PHP), structure (XHTML/HTML), and style (CSS), making it easy for designers to create or modify templates by working on XHTML/HTML and CSS without having to worry about any PHP coding.

This engine is compatible with both PHP 4 and 5 and is designed to be used with Drupal 4.7. I have no plans to update this module for 5.0. If someone would like to contribute a patch I'll be happy to review and commit it.

VersionDateLinksStatus
4.7.x-1.x-dev2006-Nov-13Development snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.
 
 

Drupal is a registered trademark of Dries Buytaert.