Wiki

Articles in category "tips", sorted by date (updated)X
Displaying 61-70 of 154 result(s).

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

Updated 3 years ago by ShahcheragheanTips22 comments – viewed 172,561 times – ( +37 / -4 ) – 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)

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

Updated 4 years ago by Ankit ModiTips0 comments – viewed 25,158 times – ( -3 )
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 4 years ago by trondTips5 comments – viewed 6,273 times – ( +9 / -1 )
some times we want to show the serialNo on cgridview .

How to preload dropdowns in CForm

Updated 4 years ago by transistorTips0 comments – viewed 6,749 times – ( +1 / -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 4 years ago by softarkTips1 comment – viewed 9,136 times – ( -2 )
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 4 years ago by Rajith RTips20 comments – viewed 43,760 times – ( +11 / -9 ) – 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 4 years ago by CrazyCatTips0 comments – viewed 6,972 times – ( +2 / -1 )
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 4 years ago by FirebreakerTips0 comments – viewed 6,579 times – ( +3 / -1 )
Sometimes writing views like

More on SSE and Yii

Updated 4 years ago by FirebreakerTips3 comments – viewed 5,855 times – ( +2 / -1 )
This is not actually Yii involved.

Using CListView to display items next to each other (in columns)

Updated 4 years ago by thyseusTips4 comments – viewed 13,098 times – ( +11 / -1 )
When using CListView to display multiple views next to each other, we can use the $index variable inside the viewFile to achieve this. As far as i know there is no extension or out-of-the-box functionality for this, so we need to apply a little hack: