For Programmers: Free Programming Magazines  


Home > Archive > PHP Smarty Templates > December 2004 > Re: [SMARTY] delimiter style









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [SMARTY] delimiter style
Monte Ohrt

2004-12-14, 4:09 pm

You can escape braces with {literal}{/literal} or {ldelim}{rdelim} so it
is a matter of preference. I leave them, some other common ones are<{
}>, {{ }}, <!--{ }-->, <% %>

Robert wrote:

>Do you tend to leave the left and right delimiter style to {}, or do you
>change them to avoid any possible brace collisions with other languages that
>use {}, like CSS or JS that you may embed in your pages?
>
>Robert
>
>
>

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com