Wiki

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

How to Display tooltp(qtip) on CGridview dynamic

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

Customizing the CMenu Widget

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

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 28,899 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,626 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,005 times – ( +3 )
Sometimes writing views like

More on SSE and Yii

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

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

Updated about a year ago by Luis Lobo BorobiaTips0 comments – viewed 3,884 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)

Updated about a year ago by thyseusTips3 comments – viewed 9,209 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:

Using sub query for doubletts

Updated about a year ago by mbTips3 comments – viewed 7,492 times – ( +1 ) – version 1.1
find doubletts by db fields. in this example i will check doublets for 3 tabelfields (col1,col2,col3). so i will get a subquery with the condition, select and grouping of the tablefields. the having with COUNT() > 1 means: find all records more then one result.

How to use a component before every action of a controller

Updated about a year ago by transistorTips1 comment – viewed 18,088 times – ( +2 / -1 ) – version 1.1
I guess this is a tip on how to execute some code before every action in a controller, because I will tell you how I did it and maybe you can use the idea in your project.