Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

'date_format' is not implemented

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Bugs
View previous topic :: View next topic  
Author Message
Kosthorst
Smarty n00b


Joined: 30 May 2003
Posts: 2

PostPosted: Fri May 30, 2003 7:46 am    Post subject: 'date_format' is not implemented Reply with quote

Hi there,

I recently installed Smarty and first everything worked fine.

While playing around with some examples from the documentattion I encountered the following problem using 'date_format':

Code:

Fatal error: Smarty error: [in index.tpl line 5]: [plugin] modifier 'date_format' is not implemented (Smarty.class.php, line 2543) in C:\Programme\ApacheGroup\Apache2\htdocs\Smarty-2.5.0\libs\Smarty.class.php on line 2652


My 'index.tpl' is very simple:
Code:

Hallo, {$name}!
<br>
{$smarty.now|date_format}
<br>


I'm using 2.5.0 on a Win 2000 machine.

It would be very nice if anyone could give me a hint how to solve this problem.

TIA,

Carsten
Back to top
View user's profile Send private message
messju
Administrator


Joined: 16 Apr 2003
Posts: 3336
Location: Oldenburg, Germany

PostPosted: Fri May 30, 2003 10:24 am    Post subject: Reply with quote

you have to configure your $smarty->plugins_dir to sth. like
'C:\Programme\ApacheGroup\Apache2\htdocs\Smarty-2.5.0\libs\plugins\'
so that smarty can find it's plugins.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Kosthorst
Smarty n00b


Joined: 30 May 2003
Posts: 2

PostPosted: Fri May 30, 2003 10:58 am    Post subject: Reply with quote

messju wrote:

you have to configure your $smarty->plugins_dir to sth. like
'C:\Programme\ApacheGroup\Apache2\htdocs\Smarty-2.5.0\libs\plugins\'
so that smarty can find it's plugins.


That's it, thank you very much.

Carsten
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Bugs All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP