Wiki

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

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 42,544 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,489 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 6,308 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 10,211 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 17,463 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 6,218 times – ( +3 )
Sometimes writing views like

More on SSE and Yii

Updated 3 years ago by FirebreakerTips3 comments – viewed 5,575 times – ( +2 )
This is not actually Yii involved.

How to use the official Yii installer for Composer (**DEPRECATED**)

Updated 3 years ago by br0skHow-tos9 comments – viewed 39,607 times – ( +3 ) – version 1.1
This wiki shall be considered deprecated since the Yii installer for composer has been discontinued.

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

Updated 3 years ago by Luis Lobo BorobiaTips0 comments – viewed 6,267 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 3 years ago by thyseusTips4 comments – viewed 12,789 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: