Wiki

Articles in category "tips"X
Displaying 21-30 of 134 result(s).

Rendering Views and Updating them with Ajax

Created 10 months ago by Manish GuptaTips4 comments – viewed 12,579 times – ( +2 )
I wanted to implement a widget that could refresh itself through Ajax without refreshing the whole page. CGridView and CListView are excellent examples of such widgets.

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

Created 11 months ago by KonApazTips2 comments – viewed 16,398 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

Multi Data Provider

Created 11 months ago by Sharon LavieTips0 comments – viewed 5,410 times – ( +1 )
Lately, i needed to deal with the following scenario: read from two databases (db1,db2), and write to a third database (db3).

New Relic Error Alert with Yii

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

Create thermometer using rgraph

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

How to change the confirmation message on admingridview button and call a ajax..Dynamic

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

How to call a default layout for every module and how to work <php echo $content; ?>

Created about a year ago by Ankit ModiTips0 comments – viewed 11,483 times – ( -1 )
Hi Friends, Hi Friends, Some common question is difficult to how to create the layout on yii and how to work

Useful Multilanguage extensions collection and use.

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

Cgridview counter column

Created about a year ago by Nisanth thulasiTips4 comments – viewed 3,267 times – ( +8 )
some times we want to show the serialNo on cgridview .

How to preload dropdowns in CForm

Created about a year ago by transistorTips0 comments – viewed 3,833 times – ( +1 )
So you want to use CForm (form builder), but need to preload dropdowns in a form? It's simpler than it seems. You got your CFormModel, CForm and the actual Form, right? Let's say you have the typical State -> City dependent dropdowns, so you would want to load the from with the State and City selected.