Wiki

Articles in category "tips", sorted by date (updated)X
Displaying 51-60 of 147 result(s).

Rendering Views and Updating them with Ajax

Updated about a year ago by Manish GuptaTips4 comments – viewed 15,643 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.

How to upload image(photo), and path entry in database with update functionality

Updated about a year ago by ShahcheragheanTips18 comments – viewed 114,674 times – ( +36 / -3 ) – version 1.1
I saw many posts that community newbie is confuse in image/photo upload with random name. so I post this topic covering all useful things regarding to image/photo upload(not covering image attribute related functionality)

Multi Data Provider

Updated about a year ago by Sharon LavieTips0 comments – viewed 6,396 times – ( +1 )
Lately, i needed to deal with the following scenario: read from two databases (db1,db2), and write to a third database (db3).

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 15,145 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 4,038 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,671 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 6,025 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 32,858 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 4,274 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,467 times – ( +3 )
Sometimes writing views like