Wiki

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

More on SSE and Yii

Created about a year ago by FirebreakerTips3 comments – viewed 3,701 times – ( +2 )
This is not actually Yii involved.

Como trasponer una lista creada con CHtml::checkBoxList

Created 3 years ago by rdjteamTips3 comments – viewed 9,027 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,359 times – ( +3 )
What I want to achieve:

Create thermometer using rgraph

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

New Relic Error Alert with Yii

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

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

Created about a year ago by KonApazTips2 comments – viewed 17,334 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,288 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 4 years ago by zaccariaTips2 comments – viewed 42,004 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,803 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 8 months ago by chandranTips2 comments – viewed 5,302 times – ( +5 ) – version 1.1
Hi friends,