Wiki

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

CjuiDatepicker

Created 2 months ago by hiral darjiTips0 comments – viewed 2,561 times – ( +2 )
If you have two datepicker in one form and you want that a date of from date shold be minimum date of todate then put following code in Cjuidatepicker widget options array:

Como trasponer una lista creada con CHtml::checkBoxList

Created about a year ago by rdjteamTips3 comments – viewed 5,035 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:

Using jQuery UI 1.8.10 themes with Yii 1.1.6

Created 2 years ago by a110yTips7 comments – viewed 12,122 times – ( +2 )
When using the latest stable jQuery UI themes (1.8.10) with Yii 1.1.6 (which uses 1.8.6) the widgets don't appear (they're invisible but they're there). In order to make them visible you need to change the following line:

BaseModuleAR class with MultiActiveRecord

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

Shrink Yii, help your IDE and speed up copying

Created about a year ago by dckurushinTips11 comments – viewed 6,212 times – ( +9 / -8 )
In this little tip, I will help you to cut Yii size for about half

Yii Security-extended guide

Created about a year ago by bingjie2680Tips11 comments – viewed 9,841 times – ( +6 / -6 )
This article is called extended guide is because there is already a security guide in the Yii tutorial security section. but that guide is not complete in the sense that it does not rise the developers' attention to some other commonly happening attacks: SQL injection and magic URL, which can be major vulnerabilities in your application without much caring.

Yii shorten common functions with OOP style

Created 6 months ago by pdtkameTips3 comments – viewed 3,729 times – ( +9 / -14 )
This article will show how you can use Yii common functions as shorten OOP function. These functions will help you work with Yii common functions is easier as OOP style.

Customize CGridView columns directly in your view

Created 9 months ago by clapasTips2 comments – viewed 9,533 times – ( +2 / -1 )
You usually take a model instance passed into your view to provide data to a CGridView in this way:

ChromePHP for Yii

Created 2 years ago by imeheszTips0 comments – viewed 7,252 times – ( +2 / -1 )
ChromePHP is a console logging extension for Google Chrome.

mysql performance tip

Created 8 months ago by sirin kTips6 comments – viewed 4,739 times – ( +2 / -1 )
When we are doing an insert of huge no.of rows into an SQL table ,Normally we will try to write separate insert quries this may lead us to a long duration of execution time and we can increase the speed of executing SQL quries by adding all the rows into a single insert query.
tags: mysql