Wiki

Sorted by viewsX
Displaying 561-570 of 777 result(s).

How to change Migration Table name and use defined prefix.

Created 3 years ago by JorgeeHow-tos1 comment – viewed 9,533 times – ( +3 ) – version 1.1
To accomplish the task of changing Migration table's name, by default tbl_migration, you need to add the following in your ./protected/config/console.php.

View a related field in CGridView

Created 2 years ago by rafaelt88Tips1 comment – viewed 9,470 times – ( +6 ) – version 1.1
Generally we need to show one or more fields from a model that is related to another model used in CGridView. For our case we will use two related models, which explain how to use model "A" fields in a CGridView that used model "B".

Profiling using XDebug

Created 3 years ago by le_topHow-tos1 comment – viewed 9,469 times – ( +3 ) – version all
A short explication on how to extract profile information for PHP on your server using XDebug and KCacheGrind or WinCacheGrind.

The Comedy of Errors

Created 4 years ago by fsbOthers3 comments – viewed 9,460 times – ( +21 ) – version 1.1
Please join the party by adding your own favorite Yii programming errors. Be sure to leave at least a hint at the correction.

How to show Image view after upload and delete view image using eajaxupload extension

Created 2 years ago by Ankit ModiHow-tos0 comments – viewed 9,451 times – ( -1 ) – version all
Hi Friends, In this tutorial you can use the eajaxupload-extension ,

How to create yii2 extension and push to github and register into packagist to allow end user install from composer

Created about a year ago by Scott_HuangHow-tos0 comments – viewed 9,427 times – ( +3 ) – version 2.0
1. Create Extension in yii2.

mysql performance tip

Created 3 years ago by sirin kTips2 comments – viewed 9,338 times – ( +2 / -1 ) – version 1.1
When we are doing an insert of huge no.of rows into an SQL table ,Normally we will try to write separate insert quries this may lead us to a long duration of execution time and we can increase the speed of executing SQL quries by adding all the rows into a single insert query.
tags: mysql

Role Management

Created 2 years ago by Dency G BHow-tos0 comments – viewed 9,314 times – ( +3 ) – version 2.0
Implementing a role based access control is a very easy process and you can even load your roles from the database if you want.
tags: rbac, yii2

Creating HTML code using Jamboree Panels

Created 3 years ago by bluyellTutorials0 comments – viewed 9,306 times – ( +2 / -2 ) – version 1.1

model rules depended by user roles-permissions

Created 3 years ago by Kostas Apazidis (KonApaz)How-tos0 comments – viewed 9,277 times – ( +3 )
This is a reference about model validators and user roles. In many cases we want model validators to applied only for some privileged users or not