Wiki

Articles in category "tips", sorted by viewsX
Displaying 61-70 of 97 result(s).

Directory independent extensions

Created 2 years ago by GOshaTips3 comments – viewed 6,030 times – ( +15 / -1 )
Many people want to use downloaded extensions in their own way. As for me most of the extensions require me to correct Yii::import() instructions inside their source code. All these extensions are directory dependent. To avoid the situation described above, I suggest to implement pseudo-anonymous aliases:

BootProgressColumn - Progress Bar Inside GridView Column compatible with 'bootstrap' extension

Created 10 months ago by LuizTips1 comment – viewed 5,875 times – ( +6 )
A little hint of how to create a progress bar inside the column of the grid, using the 'bootstrap' extension.

How to catch and log MySQL deadlock errors

Created about a year ago by sebTips0 comments – viewed 5,554 times – ( +4 )
This method allows to log InnoDB monitor output when deadlock error occured. This way we will have much more useful data to find and fix deadlock.
tags: database

Functional tests independing from your urlManager settings

Created 2 years ago by RusAlexTips1 comment – viewed 5,339 times
If you are testing your app and use urlManager in your config, sometimes you will find a problem: you want to test your site independing from urlManager settings. in that way you need to extend your WebTestCase class by this method:

how to use github (un)official extension repo in your Yii project

Created about a year ago by RusAlexTips4 comments – viewed 5,278 times – ( +4 )
Using a git submodule command in your yii project

Reading the doc

Created 2 years ago by zaccariaTips0 comments – viewed 5,257 times – ( +21 )
Almost all the information you need whilst working with yii is written in the Class Reference.
tags: doc

Assigning dynamic roles to a user Using yii Rights module at the time of user creation and using some special advanced features of yii rights

Created 3 months ago by Rajith RTips0 comments – viewed 5,120 times – ( +4 )
After Installing Yii Users and Rights to Newly Created Yii app we have to assign dynamic roles to a user at the time of user creation .

CJuiTabs Content

Created 7 months ago by mbalaTips2 comments – viewed 5,081 times – ( +5 )
When I used CJuiTabs I did something. They are
tags: CJuiTabs

BaseModuleAR class with MultiActiveRecord

Created about a year ago by dinhtrungTips0 comments – viewed 5,043 times – ( +2 )
MultiActiveRecord is an extension that add support for multiple database connection for your application.

Como trasponer una lista creada con CHtml::checkBoxList

Created about a year ago by rdjteamTips3 comments – viewed 4,966 times – ( +2 )
En ciertas ocasiones tenemos que lidiar con el tema de colocar una lista de checkboxes para hacer una seleccion especifica como es el caso de los dias de la semana para un calendario, para esta labor tenemos el comando CHtml::checkBoxList(), revisando un poco el funcionamiento de este temos los siguientes parametros: