Wiki

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

Search a file size range in CGridView

Updated 3 years ago by CrazyCatTips0 comments – viewed 5,748 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,691 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,146 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,269 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,661 times – ( +3 )
Sometimes writing views like

More on SSE and Yii

Updated 3 years ago by FirebreakerTips3 comments – viewed 5,084 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 36,040 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 5,769 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,078 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:

Turn Web HTML Into Newsletter

Updated 3 years ago by yasenHow-tos1 comment – viewed 10,261 times – ( +8 ) – version 1.1
These newsletters have always been hard to create as regular web HTML is not properly read by web email interfaces and email clients. I thought that the simplest solution would be to use a web page that would serve as a web version of the newsletter and turn it somehow into newsletter HTML.