Wiki

Sorted by date (updated)X
Displaying 311-320 of 719 result(s).

Using Grunt for deploying client scripts

Updated about a year ago by Chris83How-tos8 comments – viewed 11,826 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,626 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 4,140 times – ( +3 )
Sometimes writing views like

More on SSE and Yii

Updated about a year ago by FirebreakerTips3 comments – viewed 3,816 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 14,083 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 4,033 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.

Cron Jobs in Yii

Updated about a year ago by Roman SolomatinHow-tos1 comment – viewed 14,361 times – ( +4 )
I've gotten Yii running cron jobs, and wanted to explain briefly how I did it.

Using CListView to display items next to each other (in columns)

Updated about a year ago by thyseusTips4 comments – viewed 9,670 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 about a year ago by yasenHow-tos1 comment – viewed 7,781 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.

Implementing a WebDAV server using SabreDAV

Updated about a year ago by nineinchnickTutorials6 comments – viewed 12,351 times – ( +5 )
This article will show you how to easily implement a WebDAV server in your project using SabreDAV.