Wiki

Articles in category "tips"X
Displaying 31-40 of 137 result(s).

Useful Multilanguage extensions collection and use.

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

Cgridview counter column

Created about a year ago by Nisanth thulasiTips4 comments – viewed 3,379 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 4,013 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

Created about a year ago by Ankit ModiTips1 comment – viewed 5,114 times – ( -1 )
Hi Friends,

Customizing the CMenu Widget

Created about a year ago by mistrybTips1 comment – viewed 28,050 times – ( +3 / -1 )
The CMenu class provides some useful features for generating menus in your web application.

Search a file size range in CGridView

Created about a year ago by CrazyCatTips0 comments – viewed 3,607 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".

More on SSE and Yii

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

Inline views, write less

Created about a year ago by FirebreakerTips0 comments – viewed 3,993 times – ( +3 )
Sometimes writing views like

Using Nginx and Apache2 in separate distributed servers (ie, Amazon EC2 instances)

Created about a year ago by Luis Lobo BorobiaTips0 comments – viewed 3,862 times – ( +2 )
We are running one frontend running NGINX and several app servers running Apache2. There are several issues we have come across but right now I'll be documenting one of them. I'll be completing this article when I get more time.

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

Created about a year ago by thyseusTips3 comments – viewed 9,158 times – ( +11 )
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: