Wiki

Sorted by date (updated)X
Displaying 391-400 of 786 result(s).

How to preload dropdowns in CForm

Updated 4 years ago by transistorTips0 comments – viewed 6,898 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,318 times – ( -2 )
Hi Friends,

CGridView, CListView and CActiveDataProvider

Updated 4 years ago by softarkTutorials22 comments – viewed 121,769 times – ( +46 / -1 ) – 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 4 years ago by drumaddictOthers4 comments – viewed 30,869 times – ( +10 / -2 ) – 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 4 years ago by Rajith RTips20 comments – viewed 44,236 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 7,178 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".

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

Updated 4 years ago by aarondfrancisTutorials1 comment – viewed 6,736 times – ( +7 / -1 )
Hello everybody.
tags: heroku, assets

model rules depended by user roles-permissions

Updated 4 years ago by Kostas Apazidis (KonApaz)How-tos0 comments – viewed 11,256 times – ( +3 / -1 )
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 4 years ago by Chris83How-tos8 comments – viewed 18,331 times – ( +11 / -1 ) – 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 4 years ago by FirebreakerTips0 comments – viewed 6,758 times – ( +3 / -1 )
Sometimes writing views like