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:
If set to TRUE
, config files
values of on/true/yes
and off/false/no
get
converted to boolean values automatically. This way you can use the
values in the template like so:
{if #foobar#}...{/if}
. If foobar was
on
, true
or yes
,
the {if}
statement will execute.
Defaults to TRUE
.