|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
Kosthorst Smarty n00b
Joined: 30 May 2003 Posts: 2
|
Posted: Fri May 30, 2003 7:46 am Post subject: 'date_format' is not implemented |
|
|
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 |
|
messju Administrator
Joined: 16 Apr 2003 Posts: 3336 Location: Oldenburg, Germany
|
Posted: Fri May 30, 2003 10:24 am Post subject: |
|
|
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 |
|
Kosthorst Smarty n00b
Joined: 30 May 2003 Posts: 2
|
Posted: Fri May 30, 2003 10:58 am Post subject: |
|
|
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 |
|
|
|
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
|