I have used a sample from the smarty website and it doesn't work

The default tags for the smarty engine use { and }. We have changed these for our software to make it blend better with major html editing software. Our software uses <!--{ and }-->. This means that the tag's will  show as html comment’s in most software.


Example

would need to be changed to <!---->