Re: How to change delimeter temporary ?
| From: | Andrei Zmievski | Date: | Thu, 23 Aug 2001 13:13:47 +0000 |
| Subject: | Re: How to change delimeter temporary ? | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1375@lists.php.net to get a copy of this message | ||
This worked fine for me... compiled and all..
On Thu, 23 Aug 2001, Markus Fischer wrote:
>
> I'm trying to achieve this by doing:
>
> $s = new Smarty;
> $s->left_delimeter = '{{';
> $s->right_delimeter = '}}';
>
> But upon template parsing I just get
>
> Warning: Smarty: [in anmelden.htm line 93]: syntax error: unknown
> tag - '{'
>
> The line in question
>
> {{ html_options options=$list_gaeste }}
>
> Using single { and } still works.
>
> Maybe its just the it isn't supported that way ... ?
>
> Directly changing the delimter in the class files only processed
> code within single { and } and passed everything start with {{
> and ending with }} directly to the browser which then looks like
> this
>
> <select name="select">
> { html_options options=$event_types }
> </select>
>
>
> ty,
> Markus
>
> --
> Markus Fischer, http://guru.josefine.at/~mfischer/
> EMail: mfischer@guru.josefine.at
> PGP Public Key: http://guru.josefine.at/~mfischer/C2272BD0.asc
> PGP Fingerprint: D3B0 DD4F E12B F911 3CE1 C2B5 D674 B445 C227 2BD0
> -All your scripts are belong to Zend-
>
> ---
> You are currently subscribed to smarty as: andrei@ispi.net
> To unsubscribe send a blank email to $subst('Email.Unsub')
> Visit Smarty's homepage at
> http://www.phpinsider.com/php/code/Smarty/
-Andrei
* The best source is the source code. *