Wiki

Sorted by viewsX
Displaying 511-520 of 786 result(s).

YII2 : simple language Switcher Widget

Created 2 years ago by phunsanitTutorials1 comment – viewed 14,789 times – ( +2 / -1 ) – version 2.0
ภาษาไทย YII 2 Widget เปลี่ยนภาษา

Using MBMenu and Rights to automatically create menu item for your modules

Created 6 years ago by dinhtrungTips2 comments – viewed 14,788 times – ( +1 / -2 ) – version 1.1
Using Rights generator component, we can easily create a dynamic menu, in which we scan every modules' controllers, to access the index page of them.

AutoTimestampBehavior

Created 9 years ago by jonahTutorials1 comment – viewed 14,766 times – ( +2 / -3 ) – version 1.1
Note: currently a variant of this class CTimestampBehavior is included into Yii distribution package.

Using sub query for doubletts

Created 5 years ago by mbTips3 comments – viewed 14,661 times – ( +2 / -1 ) – version 1.1
find doubletts by db fields. in this example i will check doublets for 3 tabelfields (col1,col2,col3). so i will get a subquery with the condition, select and grouping of the tablefields. the having with COUNT() > 1 means: find all records more then one result.

Facebook DeAuthorize callback URL and its response data.

Created 5 years ago by sirin kTutorials1 comment – viewed 14,643 times – ( +3 / -1 ) – version 1.1
Facebook Deauthorize callback is used to getting notification to the app owner when a user uninstall our app from their fan page or profile.
tags: facebook

How to: use github for download yii, create new app, and store our modules or extensions.

Created 5 years ago by sensorarioHow-tos1 comment – viewed 14,596 times – ( +8 / -1 ) – version 1.1
Yesterday I've written a module for myself. Just an experiment. When I was feeling satisfied, I've created a repository on github, and pushed my code. My module and yii are on github. So I'll show you a "new" way to start our yii projects.
tags: github, git

PHPStorm & NetBeans autocomplete problem

Created 4 years ago by StagelineTips3 comments – viewed 14,568 times – ( +24 / -1 ) – version 1.1
The problem: If you type Yii::app()->user<ctrl+space> code completion didn't work. This solve it.

Yii HMVC

Created 4 years ago by ezekielnoobHow-tos6 comments – viewed 14,526 times – ( +5 / -2 )
Right now we can use widgets + action provider like in this tutorial: How to use a Widget as an Action Provider

How to create Module based Login

Created 4 years ago by Ibrar TuriHow-tos1 comment – viewed 14,410 times – ( +3 / -1 ) – version 1.1
Lets say we have 3 modules (customer, user, admin) in an application and we need, separate logins for each module.

Automatic Parameter Binding to POST vars in Yii2

Created 4 years ago by aarondfrancisHow-tos2 comments – viewed 14,379 times – ( -1 ) – version 2.0
I wrote about this on my blog, but wanted to post it here too.
tags: yii2, controllers