Skip to content

Releases: AntonyZ89/yii2-templates

1.5.1

23 Aug 17:45

Choose a tag to compare

ActiveRecord: added findVariable()

1.5

17 Aug 15:46

Choose a tag to compare

1.5
  • helpers\Html
  • new functions on function.php
  • minor fixes
  • new MDLite template

1.4

02 Jun 16:44

Choose a tag to compare

1.4
  • Toastify added

to use install:

"npm-asset/toastify-js": "^1.11.0",
"npm-asset/lodash": "^4.17.4"

How to use npm asset: https://www.yiiframework.com/extension/yiisoft/yii2-bootstrap4/doc/guide/2.0/en/assets-setup

toastify.success(title: string | null, msg: string | null | Options, extraOptions: Options): void,
toastify.info(title: string | null, msg: string | null | Options, extraOptions: Options): void,
toastify.warning(title: string | null, msg: string | null | Options, extraOptions: Options): void,
toastify.error(title: string | null, msg: string | null | Options, extraOptions: Options): void

1.3

08 Dec 03:53

Choose a tag to compare

1.3
  • Add @alias. to query and it be replaced by tableName or a alias.
// Query
User::find()->alias('example')->where(['@alias.name' => 'Antony']);
# result
SELECT `user`.* FROM `user` as `example` WHERE `example`.`name` = 'Antony'
  • Use $query->groupBy(false) to avoid GROUP BY on query.
  • Fixed javascript error when any date input has been not found.
  • Pjax fixes.
  • ActiveDataProvider created to fix a error when GROUP BY exists on query and only first page of models is returned.
  • Template fixes.
  • functions.php added with some useful functions.
  • ActiveQuery fixes.
  • Bug fixes

1.2.0

27 Feb 02:46

Choose a tag to compare

minor fix on gridview