The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Orze::Drivers::Template - Create a page using the Template module

DESCRIPTION

This driver uses the famous Template module to create pages. It process the given template using all the variables of the page as its own variables.

It takes care of the following attributes:

template

The template that will be used. Notice that the default value is "index".

All the templates must be put in the templates/Template directory. The includes/Template directory will be used for all the includes defined in the template file.

The new file will be put in www/outputdir/ according the current page path and name.

EXAMPLE

        <page name="index" template="foobar" >
                <var name="title">Homepage</var>
                <var name="content">Hello world</var>
        </page>

SEE ALSO

Lookt at Template for the template language.

METHODS

process

Do the real processing