Wiki

Articles in category "tips", sorted by viewsX
Displaying 71-80 of 141 result(s).

Como trasponer una lista creada con CHtml::checkBoxList

Created 3 years ago by rdjteamTips3 comments – viewed 9,199 times – ( +2 ) – version 1.1
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:

Activating Bootstrap 3 Tooltips & Popover for your Yii Site.

Created 6 months ago by Kartik VTips5 comments – viewed 8,848 times – ( +29 / -4 ) – version 2.0
With Bootstrap 3 and its inbuilt support in Yii Framework 2.0, you would see quite some new ways of creating HTML markup and styling your site. However, with version 3 of Bootstrap, tooltips and popover are not activated by default on your elements. Assuming you have activated the Bootstrap 3 tooltip plugin - how do you easily enable display of tooltips/popovers across your site?

Directory independent extensions

Created 4 years ago by GOshaTips3 comments – viewed 8,791 times – ( +15 / -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:

How to catch and log MySQL deadlock errors

Created 2 years ago by sebTips1 comment – viewed 8,730 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

Shrink Yii, help your IDE and speed up copying

Created 3 years ago by dckurushinTips4 comments – viewed 8,668 times – ( +10 / -9 ) – version 1.1
In this little tip, I will help you to cut Yii size for about half

Preventing CJuiTabs from hiding drop-down CMenu items

Created 3 years ago by Steve FriedlTips1 comment – viewed 8,663 times – ( +4 ) – 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 change the confirmation message on admingridview button and call a ajax..Dynamic

Created about a year ago by Ankit ModiTips0 comments – viewed 8,591 times – ( +3 ) – version 1.1
Hi Friends,

PHPStorm & NetBeans autocomplete problem

Created about a year ago by StagelineTips1 comment – viewed 8,372 times – ( +22 ) – version 1.1
The problem: If you type Yii::app()->user<ctrl+space> code completion didn't work. This solve it.

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

Created about a year ago by sebTips0 comments – viewed 8,276 times – ( +1 / -1 ) – version 1.1
Speedup unit tests by moving MySql data to memory [Ubuntu]
tags: mysql, unit test

Understanding series articles

Created 3 years ago by GOshaTips0 comments – viewed 8,001 times – ( +16 ) – version 1.1
Here are all wiki articles from "Understanding" series by Yii wiki contributors: