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:
This tells smarty what resource type to use implicitly. The default value
is file
, meaning that
$smarty->display('index.tpl')
and
$smarty->display('file:index.tpl')
are identical in
meaning. See the resource
chapter for more details.