View previous topic :: View next topic |
Author |
Message |
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Fri Nov 12, 2010 2:15 am Post subject: Smarty 3.0 Released! |
|
|
The official Smarty 3.0 has been released! Please join the developer mailing list and see the Smarty 3 section of the forums forums for questions, comments, feedback, etc.
Documentation is available for 3.0 in the documentation section of the website.
We also have a brand new website running on Smarty 3. There is a lot of new content here, be sure to check it out!
NOTE: There are some important API changes between the RC4 and 3.0 releases. We felt it was better to make these now instead of after a 3.0 release, and then immediately deprecate some 3.1 APIs. See the README that comes with the distribution for details.
http://www.smarty.net/ |
|
Back to top |
|
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Fri Nov 12, 2010 2:27 am Post subject: |
|
|
A few more notes:
The SVN is now the /trunk/ instead of /branches/Smarty3Dev/, be sure to get a new checkout from there. Smarty 2 is now in /branches/Smarty2Dev/
The API changes from RC4-3.0:
Code: | $smarty->register->*
$smarty->unregister->*
$smarty->utility->*
$samrty->cache->*
Have all been changed to local method calls such as:
$smarty->clearAllCache()
$smarty->registerFoo()
$smarty->unregisterFoo()
$smarty->testInstall()
etc.
Registration of function, block, compiler, and modifier plugins have been
consolidated under two API calls:
$smarty->registerPlugin(...)
$smarty->unregisterPlugin(...)
Registration of pre, post, output and variable filters have been
consolidated under two API calls:
$smarty->registerFilter(...)
$smarty->unregisterFilter(...) |
See the README and online documentation for details. |
|
Back to top |
|
Mastershrimp Smarty Regular
Joined: 21 Dec 2009 Posts: 53
|
Posted: Fri Nov 12, 2010 10:41 am Post subject: |
|
|
Is it possible that there is an error in smarty_internal_compile_continue.php?
Eclipse reports "syntax error, unfinished class declaration smarty_internal_compile_continue.php line 64". After having a quick look at the file i'd say that one of the "{" in line 29 need to be removed |
|
Back to top |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 5068 Location: Hamburg / Germany
|
Posted: Fri Nov 12, 2010 12:02 pm Post subject: |
|
|
Yes the typo in compile_continue went through for same reasion |
|
Back to top |
|
ZakMc Smarty Pro
Joined: 04 Oct 2004 Posts: 182
|
Posted: Fri Nov 12, 2010 12:44 pm Post subject: |
|
|
[move to own thread]
Last edited by ZakMc on Fri Nov 12, 2010 1:41 pm; edited 1 time in total |
|
Back to top |
|
TitanKing Smarty n00b
Joined: 14 Aug 2009 Posts: 2
|
Posted: Fri Nov 12, 2010 1:16 pm Post subject: |
|
|
What a great job you guys have been doing. Well done, can I buy you each a beer?
Just to let you all know, the new PHPDevShell V3.0.0 includes Smarty as an official plugin. Meaning it manages your smarty pages like a CMS. This really bring extraordinary power to Smarty
PS, its very hard to post in the forums seeing I always get a Invalid Session. |
|
Back to top |
|
ZakMc Smarty Pro
Joined: 04 Oct 2004 Posts: 182
|
Posted: Fri Nov 12, 2010 1:17 pm Post subject: |
|
|
[move to own thread] |
|
Back to top |
|
IceFrog Smarty Rookie
Joined: 16 Dec 2008 Posts: 13
|
Posted: Sat Nov 13, 2010 10:46 am Post subject: |
|
|
Thanks for stable release! Great work! _________________ Hello all coders from Russia |
|
Back to top |
|
Mastershrimp Smarty Regular
Joined: 21 Dec 2009 Posts: 53
|
Posted: Sun Nov 14, 2010 6:47 pm Post subject: |
|
|
U.Tews wrote: | Yes the typo in compile_continue went through for same reasion |
But as far as I can see it is not fixed in the current version? |
|
Back to top |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 5068 Location: Hamburg / Germany
|
Posted: Sun Nov 14, 2010 6:52 pm Post subject: |
|
|
It's in the current version 3.0.4 |
|
Back to top |
|
|