Sorted by date (updated)X
Displaying 381-390 of 779 result(s).

How to preload dropdowns in CForm

Updated 3 years ago by transistorTips0 comments – viewed 6,023 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 3 years ago by softarkTips1 comment – viewed 8,232 times – ( -1 )
Hi Friends,

CGridView, CListView and CActiveDataProvider

Updated 3 years ago by softarkTutorials22 comments – viewed 114,111 times – ( +46 ) – version 1.1
CGridView (or CListView) together with CActiveDataProvider is a very powerful combination of the built-in tools of Yii. But how do they work together to accomplish their fantastic functions? And what are you expected to do to use them and to customize their behaviors? This article explains the very basics of them.

Ember.js with Yii REST backend,demo application

Updated 3 years ago by drumaddictOthers4 comments – viewed 29,031 times – ( +10 / -1 ) – version 1.1
Ember with Yii REST backend,demo 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 3 years ago by Rajith RTips20 comments – viewed 41,102 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 3 years ago by CrazyCatTips0 comments – viewed 6,018 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".

Mantis Manager: An Asset Manager that minifies, combines, and publishes

Updated 3 years ago by aarondfrancisTutorials1 comment – viewed 5,927 times – ( +7 )
Hello everybody.
tags: heroku, assets

model rules depended by user roles-permissions

Updated 3 years ago by Kostas Apazidis (KonApaz)How-tos0 comments – viewed 9,511 times – ( +3 )
This is a reference about model validators and user roles. In many cases we want model validators to applied only for some privileged users or not

Using Grunt for deploying client scripts

Updated 3 years ago by Chris83How-tos8 comments – viewed 16,728 times – ( +11 ) – version 1.1
For a long time I have struggled to find a suitable tool for doing server tasks such as compiling LESS files, concatenating and minifying of JavaScript files and copying the minified JavaScript files. While most of these tasks can be done with Yii extensions I would still not recommend using them because it requires you to include these extensions in your project, and therefore also deploying them in your production environment.

Inline views, write less

Updated 3 years ago by FirebreakerTips0 comments – viewed 5,880 times – ( +3 )
Sometimes writing views like