Wiki

Sorted by ratingX
Displaying 451-460 of 696 result(s).

Adding a link to a CDataColumn

Created about a year ago by le_topTips6 comments – viewed 8,797 times – ( +3 ) – version 1.1
Backoffice Grid Views often list information like Posts for a blog while showing at the same time linked information like the User who wrote that post. For more efficiency, it is appropriate that the User is displayed as a link to the User detail page.

Creating a Dependent Dropdown From Scratch in Yii2

Created 3 months ago by ThePr0f3550rHow-tos1 comment – viewed 3,767 times – ( +3 ) – version 2.0
I have read http://www.yiiframework.com/wiki/24/creating-a-dependent-dropdown/ (Dependen Dropdown Yii1), but I cant implementation in Yii2 because Yii2 not built-in AJAX functionality hem.. I am search about it and get this statement

CjuiDatepicker

Created about a year ago by hiral darjiTips1 comment – viewed 5,504 times – ( +3 ) – version 1.1
If you have two datepicker in one form and you want that a date of from date shold be minimum date of todate then put following code in Cjuidatepicker widget options array:

How to use the official Yii installer for Composer (**DEPRECATED**)

Created about a year ago by br0skHow-tos9 comments – viewed 12,560 times – ( +3 ) – version 1.1
This wiki shall be considered deprecated since the Yii installer for composer has been discontinued.

How to change Migration Table name and use defined prefix.

Created about a year ago by JorgeeHow-tos1 comment – viewed 5,705 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.

Expert's model generation with Gii

Created 2 months ago by le_topTips0 comments – viewed 2,674 times – ( +3 ) – version 1.1
Efficient coding with Yii implies efficient use of the code generator. This article shares the personalised Gii templates that were built starting from the standard templates proposed by AweGen.

Profiling using XDebug

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

Google style sign out of all other sessions

Created about a month ago by Rohit SutharHow-tos2 comments – viewed 2,198 times – ( +3 ) – version 1.1
In this wiki I will show how could logout from all other sessions or all other places.

Configuring CWebLogRoute for DB profiling

Created 3 years ago by Igor IvanovicTutorials1 comment – viewed 16,380 times – ( +3 ) – version 1.1
/index.php /protected/config/main.php
tags: logger, profiler, db

Inline views, write less

Created about a year ago by FirebreakerTips0 comments – viewed 3,932 times – ( +3 )
Sometimes writing views like