smarty template engine
Thursday, July 29, 2010  
download | documentation | faq | forum | mailing lists | changelog | contribs 


Translate this page to:
search for in the


Smarty 3.0 RC3 Released

[14-Jul-2010] The third release candidate of Smarty 3 has been released! Please join the developer mailing list and see the Smarty 3 section of the forums and give us feedback!

Documentation is still being finalized for 3.0, for now please refer to the README that accompanies the distribution.

change log is here.(rc3 changes are Jun 14 - Jul 14)
download it here.

Smarty 3.0 RC2 Released

[14-Jun-2010] The second release candidate of Smarty 3 has been released! Please join the developer mailing list and see the Smarty 3 section of the forums and give us feedback!

Documentation is still being finalized for 3.0, for now please refer to the README that accompanies the distribution.

change log is here.(rc2 changes are Apr 29 - Jun 13)
download it here.

Smarty 3.0 RC1 Released

[29-Apr-2010] The first release candidate of Smarty 3 has been released! Please join the developer mailing list and see the Smarty 3 section of the forums and give us feedback!

Documentation is still being finalized for 3.0, for now please refer to the README that accompanies the distribution.

change log is here.(rc1 changes are Mar 5 - Apr 29)
download it here.

Smarty 3.0 Beta 8 Released

[5-Mar-2010] The eighth beta of Smarty 3 has been released! Please join the developer mailing list and see the Smarty 3 section of the forums and give us feedback!

NOTE: There are some important changes to Beta 8. Most notably, the API has been refactored in favor of a more consistent and modular syntax. Many of the Smarty 2 APIs are deprecated (but still work.) See the README for details.

change log is here.(beta 8 changes are Jan 17 - Mar 5)
download it here.

Smarty 3.0 Beta 7 Released

[17-Jan-2010] The seventh beta of Smarty 3 has been released! Please join the developer mailing list and see the Smarty 3 section of the forums and give us feedback!

change log is here.(beta 7 changes are Jan 11 - Jan 17)
download it here.

Smarty 3.0 Beta 6 Released

[11-Jan-2010] The sixth beta of Smarty 3 has been released! A lot has been going on since the last beta, be sure to get updated. Please join the developer mailing list and see the Smarty 3 section of the forums and give us feedback!

change log is here.(beta 6 changes are Nov 23 - Jan 11)
download it here.

Smarty 3.0 Beta 5 Released

[23-Nov-2009] The fifth beta of Smarty 3 has been released! Please join the developer mailing list and see the Smarty 3 section of the forums and give us feedback!

change log is here.(beta 5 changes are Nov 18 - Nov 23)
download it here.

Smarty 3.0 Beta 4 Released

[18-Nov-2009] The fourth beta of Smarty 3 has been released! Please join the developer mailing list and see the Smarty 3 section of the forums and give us feedback!

change log is here.(beta 4 changes are Nov 15 - Nov 18)
download it here.

Smarty 3.0 Beta 3 Released

[15-Nov-2009] The third beta of Smarty 3 has been released! Please join the developer mailing list and see the Smarty 3 section of the forums and give us feedback!

change log is here.(beta 3 changes are Nov 11 - Nov 15)
download it here.

Smarty 3.0 Beta 2 Released

[11-Nov-2009] The second beta of Smarty 3 has been released! Please join the developer mailing list and see the Smarty 3 section of the forums and give us feedback!

change log is here.(beta 2 changes are Oct 31 - Nov 11)
download it here.

Smarty 3.0 Beta 1 Released

[31-Oct-2009] As promised, the first beta of Smarty 3 has been released! Please join the developer mailing list and see the Smarty 3 section of the forums and give us feedback!

download it here.


Smarty 3 is almost here!

[24-Sep-2009] Yes, yes I know. The Smarty 3 beta is taking much longer than expected, but we wanted to be sure we had everything right. Our preliminary performance tests are already showing us very promising speed improvements over Smarty 2 (2-5x on average), and we're not done! To recap, Smarty 3 is a 100% rewrite from the ground up, and it is PHP 5 only. We will be getting a feature list up with the Beta, but let me give a quick summary:

  • PHP5 OO design
  • SPEED
  • Object Chaining
  • Exception Error Handling
  • Assigned Data Objects
  • Multiple Template Objects
  • Static Object Access
  • Pure PHP Template Option
  • Powerful Parser/Lexer
  • Tons of Template Syntax Enhancements
  • Improved Data Scoping Features
  • Variable Filters (ie. auto-html-escape)
  • In-template Functions (easy recursion)
  • Template Inheritance
  • PHP Streams Support (per template/variable/include)
  • Smart javascript/css handling (no more {literal} tags)
  • Improved Cache handling (per template/variable/function)
  • Many other things too numerous!

There are many folks using the Alpha in production, and with this feedback we feel the Beta is going to be very stable to begin with. Feel free to grab the Alpha and give it a test! We want feedback!

You can checkout Smarty 3 latest SVN here.

See also the dev mailing list:
http://groups.google.com/group/smarty-developers


Smarty 2.6.26 Released

[18-Jun-2009] This release addresses super global access such as {$smarty.get.foo}. The security setting ALLOW_SUPER_GLOBALS determines if super globals can be directly access from the templates or not in secure mode. The read-only access changes for super globals have been reverted, please use ALLOW_SUPER_GLOBALS for security.

ChangeLog here. download it here.


Smarty 2.6.25 Released

[23-May-2009] This release addresses an E_NOTICE introduced in 2.6.24 without sessions enabled.

ChangeLog here. download it here.


Smarty 2.6.24 Released

[16-May-2009] This release addresses a bug introduced in 2.6.23 with the super global changes.

ChangeLog here. download it here.


Smarty 2.6.23 Released

[13-May-2009] This release addresses a correction with the {math} plugin where backticks were not properly sanitized, creating a possible shell execution, even from a secure template. There are no known sequences that actually do anything, but removing backticks will rule out any question. Also addressed, templates that exist but are not readable now create a proper error message. Super global access from templates are now read-only, so it's no longer possible to do something like {$smarty.session.foo++}

ChangeLog here. download it here.


Smarty 2.6.22 Released

[17-Dec-2008] This release addresses a problem encountered with the Smarty 2.6.21 release and a PCRE engine bug in PHP 5.2. Method chaining has been removed to avoid the bug. Method chaining will re-appear in Smarty 3.

ChangeLog here. download it here.


Smarty 3 Alpha Well on its Way!

[2-Dec-2008] Smarty 3 Alpha is coming along nicely, we estimate a few more weeks until the first beta. Grab the SVN and give it a try, let us know what you think on the developer list!

You can checkout Smarty 3 Alpha with SVN:
svn checkout http://smarty-php.googlecode.com/svn/branches/Smarty3Alpha/

See also the dev mailing list:
http://groups.google.com/group/smarty-developers


Smarty 2.6.21 Released

[2-Dec-2008] This release addresses a few of bug fixes, and vulnerability that allows php execution from within a template in security mode. If you use template security, it is recommended to upgrade immediately.

ChangeLog here. download it here.


Smarty 3 Alpha has begun!

[17-Oct-2008] The Smarty 3.0 engine is well on its way, morphing every day. The alpha branch SVN is available to browse here, and the README for it is here. Feel free to contribute your thoughts in the forum. This is alpha code, meaning it is not complete. Don't try to use this for production! Once the feature set is complete, it will move to beta.

You can checkout Smarty 3 Alpha with SVN:
svn checkout http://smarty-php.googlecode.com/svn/branches/Smarty3Alpha/

See also the dev mailing list:
http://groups.google.com/group/smarty-developers


Smarty 2.6.20 Released

[15-Aug-2008] This release addresses a few of bug fixes, and another /e test for regex_replace modifier when using arrays. If you use the security features of Smarty, you should upgrade immediately. As a quick fix, you can replace the modifier.regex_replace.php plugin with the new one.

ChangeLog here. download it here.


Smarty 2.6.19 Released

[11-Feb-2008] This release addresses a couple of bug fixes, and a bug with the regex_replace modifier that can allow php functions to be called in templates. If you use the security features of Smarty, you should upgrade immediately. As a quick fix, you can replace the modifier.regex_replace.php plugin with the new one.

ChangeLog here. download it here.


Indonesian translation available!

[17-Sep-2007] The Indonesian documentation is here! Thanks goes to Zaenal Mutaqin for his hard work.


Japanese translation available!

[4-May-2007] The Japanese documentation is here! Thanks goes to Masahiro Takagi, Joe Morikawa, Daichi Kamemoto, and Shinsuke Matsuda for their hard work.


Smarty 2.6.18 Released

[7-March-2007] This release addresses a bug introduced in 2.6.17 regarding detection of non-cached blocks. Please upgrade from 2.6.17 if you have that version.

ChangeLog here. download it here.


Smarty 2.6.17 Released

[5-March-2007] This release addresses several small fixes and enhancements. It also addresses a compiler bug (thanks for finding this, danilo!) that allowed the creation of PHP tags in secure templates. No examples have been made public. If you use the security features of Smarty to keep PHP out of templates, it is highly recommended that you upgrade.

ChangeLog here. download it here.


Smarty 2.6.16 Released

[1-Dec-2006] This release addresses a problem with the trimwhitespace filter from yesterday's release. The output.trimwhitespaces.php plugin is the only file changed.

ChangeLog here. download it here.


Smarty 2.6.15 Released

[30-Nov-2006] This release addresses several minor feature enhancements and bug fixes. See the changelog for the details.

ChangeLog here. download it here.


Smarty 2.6.14 Released

[28-May-2006] This release addresses a compiler bug that allowed the creation of PHP tags in secure templates. No examples have been made public. If you use the security features of Smarty to keep PHP out of templates, it is highly recommended that you upgrade.

This release also addresses updates regarding xml tags and block-methods of registered objects, see the changelog.

ChangeLog here. download it here.


Integrating Smarty with the Zend Framework

[5-April-2006] The Zend Developer Zone has posted an article by Ralf Eggert that shows a method to integrate Smarty and the Zend Framework.


Smarty Book

[17-March-2006] A book about Smarty will be shipping in April! Authors are Hasin Hayder, Joao Prado Maia and Lucian Gheorghe.

Publisher Site
Barnes & Noble


Using Smarty with Zend Framework

[14-March-2006] Dmytro Shteflyuk has posted in his blog a way to use Smarty with the Zend Framework (still alpha, preview available.)


Smarty 2.6.13 Released

[9-March-2006] This release addresses a fix to the regex_replace modifier that ships with Smarty. It was possible to apply the "e" (eval) PCRE flag to replacement text with carefully crafted spacing. Those of you who use Smarty with security enabled, it is recommended that you upgrade.

This is the only change since 2.6.12. For a quick-fix, just replace the modifier.regex_replace.php file in the plugins directory.

ChangeLog here. download it here.


Smarty 2.6.12 Released

[18-January-2006] This release addresses some minor bug fixes and operability with the latest version of PHP.

ChangeLog here. download it here.


Smarty 2.6.11 Released

[14-December-2005] This release addresses some minor bug fixes and feature enhancements, and also plays nicer with PHP 5.1.

ChangeLog here. download it here.


Integrating Google Maps into Smarty

[5-Dec-2005] This new Google Map API library gives examples how to integrate custom Google maps into Smarty templates. Smarty examples are at the bottom of the README.

PHP GoogleMapAPI


Smarty 2.6.10 Released

[5-August-2005] This release addresses some minor bug fixes and feature enhancements. Most notable are the secure_dir setting can now be a filename as well as a directory name, more strict syntax checking for quoted strings in the templates, and removal of an ambiguity with numerical date_format values. See the change log for the entire list.

ChangeLog here. download it here.


PHP turns 10

[9-Jun-2005] Yesterday was the 10th anniversary of the inception of PHP onto the programming world. The Smarty developers send their congrats to Rasmus and the literally thousands of developers who have made it into what it is today. Smarty itself is over four years old now, which was introduced on January 18th, 2001.


see news archive page

[advertise]


credits 

Smarty Copyright © 2002-2008
New Digital Group, Inc.

All rights reserved.