Re: Variable modifier parse error?
| From: | Kamal Mahyuddin | Date: | Tue, 24 Jul 2001 00:44:18 +0000 |
| Subject: | Re: Variable modifier parse error? | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1266@lists.php.net to get a copy of this message | ||
I have done as you suggested but I am still having the same problems.
I put a single line of {$timestamp|date_format:"%A, %B %d, %Y"} in the
template
and a $smarty->assign("timestamp",994618629) .. I tried this both with
Unix timestamp
and MySQL's timestamp.
Any ideas?
Kamal
-----Original Message-----
From: Andrei Zmievski [mailto:andrei@ispi.net]
Sent: Monday, July 23, 2001 3:31 PM
To: Kamal Mahyuddin
Cc: smarty@lists.ispi.net
Subject: Re: [smarty] Re: Variable modifier parse error?
On Mon, 23 Jul 2001, Kamal Mahyuddin wrote:
> I am using 1.4.4 on my hoster account and my own computer. This is why
> it is puzzling. Could any server settings affect Smarty? Like, safe
> mode or something? My hoster has Zend Optimizer installed if that is
> of any significance.
I suggest putting that single expression in a file by itself and trying
to compile it with Smarty.
-Andrei
* The best source is the source code. *