Wiki

Articles in category "tips", sorted by commentsX
Displaying 51-60 of 134 result(s).

Como trasponer una lista creada con CHtml::checkBoxList

Created 2 years ago by rdjteamTips3 comments – viewed 8,561 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:

Useful Multilanguage extensions collection and use.

Created about a year ago by cihappyTips2 comments – viewed 4,155 times – ( +3 )
What I want to achieve:

Create thermometer using rgraph

Created about a year ago by Ankit ModiTips2 comments – viewed 4,247 times – ( +3 )
Hi friends,

New Relic Error Alert with Yii

Created about a year ago by simon604Tips2 comments – viewed 4,621 times – ( +5 )
Introduction

Custom column in TbGridView with icon by condition, find out icon class glyphicons easy (YiiBooster)

Created 10 months ago by KonApazTips2 comments – viewed 16,022 times – ( +2 / -1 ) – version 1.1
First of all, You have to find out the class of the desired icon, so visit the http://getbootstrap.com/2.3.2/base-css.html#icons

Access log output from unit tests

Created 2 years ago by MikeTips2 comments – viewed 5,105 times – ( +4 ) – version 1.1
Say, you want to write a test for a component which provides a caching feature. How would you know, that some method of your component returns a cached result? With the solution described here you can inspect all log outputs. So you could search the logs for accesses to the DB to really make sure, that the result was served from cache.

Ajax update

Created 3 years ago by zaccariaTips2 comments – viewed 41,334 times – ( +21 / -2 ) – version 1.1
Often happens to have the need of change a part of the page with ajax.
tags: AJAX

Code style

Created 3 years ago by zaccariaTips2 comments – viewed 13,515 times – ( +29 ) – version 1.1
Often, when writing widgets or editing Yii code, it is unclear whether or not the code is following the MVC pattern.
tags: mvc

CGridView customized CCheckBoxColumn

Created 6 months ago by chandranTips2 comments – viewed 4,257 times – ( +5 ) – version 1.1
Hi friends,

Quick Tip about Pagination Params

Created 3 years ago by Antonio RamirezTips2 comments – viewed 24,103 times – ( +5 ) – version 1.1
Developing custom Grids and ListViews for my new CMS I was facing a small challenge: If I was to update/delete/batch delete items of my Grid, how would I return to the current page view?
tags: Pagination