Wiki

Sorted by viewsX
Displaying 571-580 of 786 result(s).

Application-driven database with CDbMigration and an extended CActiveRecord

Created 6 years ago by Tudor IlisoiOthers0 comments – viewed 11,543 times – ( +8 / -1 ) – version 1.1
This is an incipient implementation of application-driven database with Yii.
tags: database, model

Profiling using XDebug

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

Using your own forked version of extensions with composer

Created 3 years ago by Kartik VTutorials3 comments – viewed 11,520 times – ( +39 / -5 ) – version 2.0
So you want to use a fork of any existing vendor extension with your Yii 2 install and use the fork, instead of original source. This does not need you to push any update or register your package on packagist.org. You are recommended to follow the approach below:

model rules depended by user roles-permissions

Created 4 years ago by Kostas Apazidis (KonApaz)How-tos0 comments – viewed 11,441 times – ( +3 / -1 )
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

CGridView keep focus on the control after filtering

Created 5 years ago by jayalaHow-tos4 comments – viewed 11,408 times – ( +6 / -1 ) – version 1.1
You can find the reason why I wrote this article here.
tags: CGridView, filter

How to change Migration Table name and use defined prefix.

Created 4 years ago by JorgeeHow-tos1 comment – viewed 11,315 times – ( +3 / -1 ) – 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.

CMenu widget like bootstrap navbar with submenu

Created about a year ago by kv4ntTutorials0 comments – viewed 11,157 times – ( -1 ) – version 1.1

Boost composer-asset-plugin update speed

Created about a year ago by schmunkTips5 comments – viewed 11,145 times – ( +5 / -1 ) – version 2.0
If you're using a lot of bower and npm assets with Yii 2.0 you might encounter long running composer update tasks.

Preventing CJuiTabs from hiding drop-down CMenu items

Created 6 years ago by Steve FriedlTips1 comment – viewed 11,134 times – ( +4 / -1 ) – version 1.1
Almost all Yii applications use CMenu at the top of each page to show options available to the user, and many include drop-down components to allow more fine-grained selection.

How to make use of a fragment cache

Created 8 years ago by dalipTutorials0 comments – viewed 11,119 times – ( +1 / -1 ) – version 1.1
According to the manual http://jp.php.net/manual/en/memcache.installation.php;
tags: cache, memcache