Wiki

Sorted by viewsX
Displaying 461-470 of 741 result(s).

Extending CJuiDialog

Created 2 years ago by dstudioHow-tos0 comments – viewed 9,281 times – ( +2 / -2 ) – version 1.1
Sometimes you have CJuiDialog with different content but same buttons (or width, height). If you don't want to repeat yourself this is a great solution:

Cambiando el diseño de JuiWidgets

Created 4 years ago by Luis Lobo BorobiaTutorials1 comment – viewed 9,278 times – version 1.1
Un aspecto del diseño de interfaces de usuario tiene que ver con la coherencia del diseño y uso de colores entre los distintos componentes de interfaz de usuario utilizados.

How to catch and log MySQL deadlock errors

Created 3 years ago by sebTips1 comment – viewed 9,274 times – ( +4 ) – version 1.1
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

Directory independent extensions

Created 4 years ago by GOshaTips3 comments – viewed 9,268 times – ( +16 / -1 ) – version 1.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:

Using Pear Mail Mail_Mime and Mail_Queue

Created 3 years ago by LorenHow-tos2 comments – viewed 9,202 times – ( +7 ) – version 1.1
Create a component (/protected/components/PearMail.php) Edit this as needed based on where you put the files from PEAR.

Speedup unit tests by moving MySql data to memory (in Ubuntu)

Created 2 years ago by sebTips0 comments – viewed 9,181 times – ( +1 / -1 ) – version 1.1
Speedup unit tests by moving MySql data to memory [Ubuntu]
tags: mysql, unit test

How to display page on fancybox...using CHtml::ajaxlink with yii validation

Created about a year ago by Ankit ModiTutorials2 comments – viewed 9,160 times – ( +2 ) – version 1.1
1) include the fancybox extesion otherwise fancybox js

How to use Flash, Zend AMF and Yii Framework

Created 3 years ago by janistoTutorials0 comments – viewed 9,146 times – ( +3 ) – version 1.1
This is a simple demo how to use Zend_AMF with Yii.
tags: flash, zend, Zend_AMF, AMF

Yet another implementation of CPhpAuthManager.

Created about a year ago by seenivasanHow-tos3 comments – viewed 9,124 times – ( +8 / -1 ) – version 1.1
In this wiki, I try to implement a simple authorization schema without putting much logic inside a file or into database table. We are constructing authorization hierarchy inside the controller. We are getting roles for the current user from database table and assigning only roles to user that are declared in the particular controller. We have brought down the work of loading of auth data at main application level to controller level. This way we have pulverised auth data for entire site into smaller units. Finally we are going to look at couple of examples.

Display image on CGridView column and open a fancy-box

Created about a year ago by Ankit ModiTutorials0 comments – viewed 9,116 times – ( +1 / -1 )
1) Add a fancy-box extension on admin page