2.6 KiB
2.6 KiB
Yii Framework 2 smarty extension Change Log
2.0.7 April 25, 2018
- Bug #23: Fixed widget registration and rendering code generation inside subtemplates (eymerich)
- Enh #25: Give a choice to use SmartyBC class (a761208)
2.0.6 March 18, 2017
- Bug #17: Updated Composer constraints to reflect the fact that it requires Smarty 3 (samdark)
2.0.5 March 17, 2016
- Bug #12: Fixed SmartyException thrown when using multiple
{use}for functions and blocks in inherited templates (freezy-sk)
2.0.4 May 26, 2015
- Bug #8: Fixed
functionRegisterJsFileposition parameter (TomassunGitHub, samdark)
2.0.3 March 01, 2015
- Bug #6845: Fixed incorrect implementation of
{registerCssFileand{registerJsFile(TomassunGitHub, samdark) - Bug #6991: Fixed exception when using
{use class='yii\bootstrap\Nav' type='function'}(ivanlemeshev)
2.0.2 January 11, 2015
- no changes in this release.
2.0.1 December 07, 2014
- Bug #5748:
{pathwas generating absolute URLs instead of relative ones (samdark, motzel)
2.0.0 October 12, 2014
- no changes in this release.
2.0.0-rc September 27, 2014
- Enh #4619 (samdark, hwmaier)
- New functions:
urlgenerates absolute URL.setallows setting commonly used view parameters:title,themeandlayout.metaregisters meta tag.registerJsFileregisters JavaScript file.registerCssFileregisters CSS file.useallows importing classes to the template and optionally provides these as functions and blocks.
- New blocks:
title.description.registerJs.registerCss.
- New modifier
voidthat allows calling functions and ignoring result. - Moved most of Yii custom syntax into
\yii\smarty\Extensionclass that could be extended viaextensionClassproperty. - Added ability to set Smarty options via config using
options. - Added
importsproperty that accepts an array of classes imported into template namespace. - Added
widgetsproperty that can be used to import widgets as Smarty tags. Yii::$app->params['paramKey']values are now accessible as Smarty config variables{#paramKey#}.- Added ability to use Yii aliases in
extendsandrequire.
- New functions:
2.0.0-beta April 13, 2014
- no changes in this release.
2.0.0-alpha, December 1, 2013
- Initial release.