|
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 |
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 5068 Location: Hamburg / Germany
|
Posted: Sun Jun 13, 2010 10:12 am Post subject: |
|
|
On mofidiers the compiler has a search order of 1. registered modifier, 2. plugins, 3. PHP functions.
The only explaination I have is that plugins_dir did not point to the folder containing the date_format modifier.
Yes the compiling process is slower in Smarty3 because of its new Lexer/Parser which is used for more flexibillity and maintainabillity on Smarty syntax and features. As compiling is a once only process after template modifications it does not affect normal working performance. |
|
Back to top |
|
prdatur Smarty n00b
Joined: 12 Jun 2010 Posts: 2
|
Posted: Sun Jun 13, 2010 11:35 am Post subject: |
|
|
i checked it now, and dont know why, after i re copied my format_date to date_format, and changed a format_date modifier call to date_format for testing, it worked without problem.
crazy smarties *gg*
maybe plugins dir was not pointed in some way, but i didnt changed something in code so dont know why it works, but i'm happy now
best regards,
chris |
|
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
|