Yii 2 datetime picker demo

Yii 2 datetime picker demo, datetime format like yyyy-mm-dd hh:ii:ss

Yii2 Form Label Control

Form is very popular in Yii2, this topic show how to control label in Yii 2.0 framework

Yii 2.0 Left Join Search Code Demo

Yii 2.0 Framework Left Join Search Code Demo

Yii 2.0 andFilterWhere null auto ignore

In Yii 2.0's search() function, if try use andFilterWhere and null together, the generated SQL will auto skip the null one, this topic show how to fix it.

Yii 2 Gridview cross-table correlation Search and association sorting

Yii 2 Gridview implement cross-table correlation Search and association sorting

Yii 2.0 Use UrlManage generate front-end URL in backend

In Yii 2.0 Framework, sometime need generate front-end URL in backend, this topic show how to do it.

Yii 2.0 DetailView Set Width Demo Code

In Yii 2.0 DetailView, sometime too long content will break page width, this time need set max-width to limit line width to switch one line to more lines, this topic show how to fix it

Yii 2.0 Use Ajax manage Gridview datatable

Yii 2.0 Use Ajax manage Gridview datatable

Yii2 checkbox list item format

In Yii 2.0 framework, format CheckBoxList's item with follow code

Yii 2.0 GridView Remove Search and Sort Function

When coding with Yii 2.0 framework, GridView is really very powerful, but sometime we need remove Sort and Search functions, the follow code show how to do it.

Yii 2.0 DIY Captcha to custom content

DIY Captcha display content in Yii 2.0, to prevent SPAM. This topic show how to display Add and Sub formula

Do line break and word break in Yii2 GridView

Do line break and word break in Yii2 GridView

Cannot get Wechat POST request in Yii 2.0's Wechat Dev

When dev wechat's normal message accept API, found cannot get any post from wechat server, this topic show how to debug and resolve it.

Yii 2.0 use mPDF generate Chinese PDF file

Chinese pdf always have some kind encode issue, after testing, found that mPDF is pretty good in Yii 2.0 for PDF generate(include Chinese PDF), this topic show how to use mPDF generate PDF in Yii 2.0

In Yii 2.0, close CSRF check for special action

In Yii 2.0, all data communication will check CSRF token by default, but in some condtion we have to close the CSRF check, this topic show how to do it

In Yii 2.0 run save in ActiveRecord's AfterSave

In Yii 2.0 Framework, if run save in afterSave, will active new beforeSave and afterSave then endless loop, this topic show how to run save in afterSave without endless loop