dracoblue.net

Escaping { and } or javascript in smarty

When using php's smarty you sometimes want to use { and } (curly braces) in .tpl files.

For such things you can use the {literal}{what you want to do}<!-- {} -->{/literal} statement.

Detailed explanation at the

smarty documentation page.

In open source, php, smarty by @ 09 Jul 2007

comments powered by Disqus

Recent Files

Advertisement

Recent Dev-Articles

Read recently

About

Blogroll