Re: [SMARTY] Delimiters

From: Date: Thu, 11 Aug 2005 19:25:35 +0000
Subject: Re: [SMARTY] Delimiters
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-12946@lists.php.net to get a copy of this message
I don't see a problem with custom delimiters. Myself, I use the default... mainly because that is what we started with and have always used, our clients use, etc. Custom delimiters would address the {literal} tag issue, but that is probably it. The only downside I see is adjusting third-party add-ons that are delimiter specific (such as syntax highlighters, custom templates, etc.) Maximillian Schwanekamp wrote:
Does anyone have a good reason *not* to use custom delimiters? It seems like multiple character delims would make life a little easier, e.g. {{ and }}, avoiding having to use {literal} wherever JS or CSS code appears in a template. Obviously Smarty supports custom delims just fine, but I'm wondering if there's a significant reason that apparently almost everyone uses the default anyway?


« previous php.smarty.general (#12946) next »