RE: [SMARTY] Escape the '{'?
| From: | Scott Matthewman | Date: | Sat, 16 Nov 2002 11:13:55 +0000 |
| Subject: | RE: [SMARTY] Escape the '{'? | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-6445@lists.php.net to get a copy of this message | ||
The method that nobody's mentioned yet is to use {ldelim} and {rdelim}:
http://smarty.php.net/manual/en/language.function.ldelim.html
Scott
> -----Original Message-----
> From: Bertrand DUNOGIER [mailto:bdunogier@wanadoo.fr]
> Sent: Saturday, November 16, 2002 11:03 AM
> To: smarty-general@lists.php.net
> Subject: Re: [SMARTY] Escape the '{'?
>
>
> R> Okay, finally trying to do some real work with Smarty. I can't find
> R> anything the manual about how to escape out the Smarty '{' and '}'
> R> in templates (like when doing CSS commands). I know you can change
> R> those characters, but how do you just escape out the occasional
> R> one?
>
> R> I tried backslashing them out, and doubling up on them. But,
> R> neither seemed to work.
> I just use the {literal} {/literal} tag. For almost all my
> stylesheets, i use an external file, so i don't have that problem.
>
> Bertrand
>
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>