User Guide & Reference Manual

The Smarty Template Engine

Hero is powered by the Smarty Template Engine. This means that its templates follow the same syntax and structure of Smarty templates, that all standard Smarty template plugins and modifiers are available in our templates, and that your site's templates are parsed, cached, and displayed by the latest release of Smarty.

Smarty is open source software, written by the founding developers of the PHP programming language. Hero uses the latest release of its software, version 3. This version is faster than ever before and optimized for web servers that use PHP5.

What You Need to Know

You don't need to know much about Smarty to begin using it in your Hero templates. It's just like any templating language. Instead of exporting HTML directly from the software, we make a bunch of variables and plugins available to designers to use in their HTML/Smarty template files. This gives designers absolute control over what is displayed to the end user.

In order to use Smarty, you should understand the following:

How to Learn More

If you are confused about Smarty, want to learn the syntax, or want to know more about all the default Smarty plugins, functions, and modifiers, the best place to start is at their comprehensive documentation site.

All template plugins that are not part of Smarty but come as part of Hero are documented in this documentation for designers, in the Reference section.