Wiki

Sorted by ratingX
Displaying 461-470 of 707 result(s).

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

Created about a year ago by br0skHow-tos9 comments – viewed 13,133 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,883 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 3 months ago by le_topTips0 comments – viewed 3,052 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,642 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 2 months ago by Rohit SutharHow-tos2 comments – viewed 2,539 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,704 times – ( +3 ) – version 1.1
/index.php /protected/config/main.php
tags: logger, profiler, db

embedded javascript block in your view with IDE checking or intellisense

Created about a month ago by yiqing95Tips0 comments – viewed 1,708 times – ( +3 ) – version 2.0
this is my way for embed js code block in view file:

Inline views, write less

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

How to access a component of a module from within the module itself

Created 5 years ago by OriginalCopyTutorials3 comments – viewed 21,224 times – ( +5 / -1 ) – version 1.1
The Yii documentation states:
tags: module

Yii HMVC

Created about a year ago by ezekielnoobHow-tos6 comments – viewed 7,434 times – ( +5 / -1 )
Right now we can use widgets + action provider like in this tutorial: How to use a Widget as an Action Provider