What is Smarty?
Why use it?
Use Cases and Work Flow
Syntax Comparison
Template Inheritance
Best Practices
Crash Course
You may use the Smarty logo according to the trademark notice.
For sponsorship, advertising, news or other inquiries, contact us at:
Table of Contents
This is the name of the default template directory. If you do
not supply a resource type when including files, they will be
found here. By default this is
./templates
,
meaning that Smarty
will look for the
templates/
directory in
the same directory as the executing php script.
It is not recommended to put this directory under the web server document root.