Articles in category "how-tos", sorted by date (updated)X
Displaying 191-200 of 346 result(s).

Using Grunt for deploying client scripts

Updated 2 years ago by Chris83How-tos8 comments – viewed 14,099 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 use the official Yii installer for Composer (**DEPRECATED**)

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

Cron Jobs in Yii

Updated 2 years ago by Roman SolomatinHow-tos1 comment – viewed 17,715 times – ( +4 )
I've gotten Yii running cron jobs, and wanted to explain briefly how I did it.

Turn Web HTML Into Newsletter

Updated 2 years ago by yasenHow-tos1 comment – viewed 9,137 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.

Changing Controllers Name

Updated 2 years ago by TrejderHow-tos0 comments – viewed 14,223 times – ( +5 ) – version 1.1
This very short how-to presents steps required to change controller name. It is oriented for less experienced users, which are starting their journey with Yii, to avoid common newbie pitfalls.

Simple authorization system

Updated 2 years ago by GustavoHow-tos1 comment – viewed 27,121 times – ( +16 ) – version 1.1
How to create a simple (non-RBAC) authorization system

How to set up Unicode

Updated 2 years ago by Roman SolomatinHow-tos10 comments – viewed 77,665 times – ( +19 ) – version 1.1
To fix issues with display of special language characters once and for all there's a solution: use Unicode UTF-8 everywhere. If everything is set up to use Unicode, you can use mostly every language in your application.
tags: i18n, unicode

Client-side form validation using Twitter Bootstrap's Popovers

Updated 2 years ago by TrejderHow-tos4 comments – viewed 32,975 times – ( +4 / -1 ) – version 1.1
This article explains how to easily turn standard text-line validation errors into beautifully and professionally looking Twitter Bootstrap's Popovers.

Alternative folder structure for a standard Yii app

Updated 2 years ago by TrejderHow-tos4 comments – viewed 11,088 times – ( +5 ) – version 1.1
I found a standard Yii app's protected folder structure nearly perfect. With a few simple moves and a little bit change to the code, I managed to bring it to the level, which I found as fully perfect. I want to share my point of view, in case someone would like to use this structure as well.