Wiki

Sorted by date (updated)X
Displaying 291-300 of 704 result(s).

Popup AJAX DialogBox without any extension

Updated about a year ago by KonApazHow-tos6 comments – viewed 12,680 times – ( +7 / -1 )
In this wiki I explain how to show a default popup dialogbox (like Gii does) using an existing module.

Search a file size range in CGridView

Updated about a year ago by CrazyCatTips0 comments – viewed 3,603 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 about a year ago by aarondfrancisTutorials1 comment – viewed 3,725 times – ( +7 )
Hello everybody.
tags: heroku, assets

model rules depended by user roles-permissions

Updated about a year ago by KonApazHow-tos0 comments – viewed 5,946 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 about a year ago by Chris83How-tos8 comments – viewed 11,216 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.

How to provide a fallback or mapping for translation messages?

Updated about a year ago by schmunkHow-tos1 comment – viewed 3,451 times – ( +5 )
Sometimes you want to use exisiting translations for locales, which do not directly match. An example would be a website targeting Germany (de_de), Austria (de_at) and Switzerland (de_ch, fr_ch, it_ch). Although you may have exisiting translations for German (de), French (fr) and Italian (it), there are problems using it directly.

Inline views, write less

Updated about a year ago by FirebreakerTips0 comments – viewed 3,984 times – ( +3 )
Sometimes writing views like

More on SSE and Yii

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

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

Updated about a year ago by br0skHow-tos9 comments – viewed 12,997 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 about a year ago by Luis Lobo BorobiaTips0 comments – viewed 3,856 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.