Curly braces conflict


Sometimes you encounter errors due to curly braces misinterpreted by the smarty's compile.

This article help you to solve the problem.

When you include a code written in javascript or css in your smarty template , there is often a smarty compiler error due to confusing the curly braces. It is therefore necessary to wrap the javascript or css code  between the  tags

{ literal } and { /literal }

to tell the compiler not to process this code.

Related articles