Wiki

Articles in category "tips", sorted by date (updated)X
Displaying 41-50 of 141 result(s).

Multi Data Provider

Updated about a year ago by Sharon LavieTips0 comments – viewed 6,032 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

Updated about a year ago by simon604Tips2 comments – viewed 7,386 times – ( +5 )
Introduction

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

Updated about a year ago by Ankit ModiTips0 comments – viewed 13,886 times – ( -2 )
Hi Friends, Hi Friends, Some common question is difficult to how to create the layout on yii and how to work

Cgridview counter column

Updated about a year ago by trondTips4 comments – viewed 3,715 times – ( +8 )
some times we want to show the serialNo on cgridview .

How to preload dropdowns in CForm

Updated about a year ago by transistorTips0 comments – viewed 4,344 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.

How to Display tooltp(qtip) on CGridview dynamic

Updated about a year ago by softarkTips1 comment – viewed 5,565 times – ( -1 )
Hi Friends,

Assigning dynamic roles to a user Using yii Rights module at the time of user creation and using some special advanced features of yii rights

Updated about a year ago by Rajith RTips20 comments – viewed 30,933 times – ( +11 / -8 ) – version 1.1
After Installing Yii Users and Rights to Newly Created Yii app we have to assign dynamic roles to a user at the time of user creation .

Search a file size range in CGridView

Updated about a year ago by CrazyCatTips0 comments – viewed 3,941 times – ( +2 )
Working on a report system of files transfert, I had to let the users simply find files by size. I didn't want to have two fields, I prefer a simple text input, with "human syntax".

Inline views, write less

Updated about a year ago by FirebreakerTips0 comments – viewed 4,239 times – ( +3 )
Sometimes writing views like

More on SSE and Yii

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