Contao Open Source CMS > Enhance > Extension list > [smarty] Smarty - template engine 1.0.3 rc3

Extensions > smarty

[smarty] Smarty - template engine
Thumbnail picture

Include smarty template engine for custom template editing

Smarty is a php template engine allows you an easier way to write custom templates.

WARNING : Before beggining, go to System -> settings -> Smarty
Please, choose first delimiters for not having any errors in your frontend.
For example :

  • Left delimiter : {=
  • Right delimiter : ;}

This example let you use vars under this syntax : {=$this->text;}

Please see this link to see an overview :
http://www.smarty.net/syntax_comparison

Version1.0.3 rc3TypeFree
Release date2011-03-05CategoryUtility
LicenseLGPL
Copyrightirongomme 2011
AuthorJérôme DENIS (irongomme) http://www.sweb-developpement.com
Release notes and change log for 1.0.3 rc3Other versions

1.0.0 alpha1 => Developpement begins :

  • Vars parsing under this shape : {$var}
  • Plugins and internal function implemented (if else foreach section, etc ...)

1.0.1 RC1 => Adding of the following functionnalities :

  • Debug window with all vars exported to each templates (system -> settings -> smarty debug)
  • Way to import custom plugins
  • Way to add custom vars for all templates

1.0.2 RC2 => Adding of the following functionnalities :

  • Setting for choosing delimiters, because default smarty delimiters { and } can be in conflict with javascript and inserttags included in content page
  • Way to force re-compilation of each template for each page loading
  • Debug window does not work every time, because some characters are not escaped => Fixed

1.0.3 RC3 =>

  • option for activate / desactivate smarty parsing
  • Adding of the global setting parameters in the debug window

To be corrected =>

  • Save a new entry log if no delimiters have been chosen.

Todo =>

  • Benefit of all smarty parameters
  • Merge with contao cache settings
1.0.0 alpha1
1.0.1 rc1
1.0.2 rc2
Release functionality Total functionality
10.00
Release usability Total usability
10.00
Release quality Total quality
10.00
Release rating Total rating
10.00 (1 votes)
Release downloads18Total downloads25
Release installs23Total installs26
Release updates1Total updates2
Dependencies of this extensionOther extensions depending on this one
NameVersion fromVersion to
Contao2.9.0 stable2.9.4 stable
NameVersion fromVersion to
PackageSizeDate
Contao_smarty_10000038_10.zip1976672011-08-12 00:06