Wiki

Articles in category "tips"X
Displaying 41-50 of 154 result(s).

Rendering Views and Updating them with Ajax

Created 3 years ago by Manish GuptaTips4 comments – viewed 19,670 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 3 years ago by Kostas Apazidis (KonApaz)Tips2 comments – viewed 26,995 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 3 years ago by Sharon LavieTips0 comments – viewed 8,543 times – ( +1 ) – version 1.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 3 years ago by simon604Tips2 comments – viewed 14,796 times – ( +6 ) – version 1.1
Introduction

Create thermometer using rgraph

Created 3 years ago by Ankit ModiTips2 comments – viewed 7,004 times – ( +4 )
Hi friends,

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

Created 3 years ago by Ankit ModiTips0 comments – viewed 16,017 times – ( +3 ) – version 1.1
Hi Friends,

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

Created 3 years ago by Ankit ModiTips0 comments – viewed 22,498 times – ( -2 )
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 3 years ago by cihappyTips2 comments – viewed 6,092 times – ( +3 ) – version 1.1
What I want to achieve:

Cgridview counter column

Created 3 years ago by Nisanth thulasiTips5 comments – viewed 5,695 times – ( +9 )
some times we want to show the serialNo on cgridview .

How to preload dropdowns in CForm

Created 3 years ago by transistorTips0 comments – viewed 6,141 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.