Re: [SMARTY] delimiter style

From: Date: Tue, 14 Dec 2004 14:24:37 +0000
Subject: Re: [SMARTY] delimiter style
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-12030@lists.php.net to get a copy of this message
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
From the doc : "All Smarty template tags are enclosed within delimiters. By default, these delimiters are { and }, but they can be changed." If you want to include CSS and JS in your templates, put them inside : {literal} ... {/literal} Yann

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