Wiki

Articles in category "how-tos", sorted by date (updated)X
Displaying 201-210 of 350 result(s).

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

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

Turn Web HTML Into Newsletter

Updated 3 years ago by yasenHow-tos1 comment – viewed 10,173 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 3 years ago by TrejderHow-tos0 comments – viewed 15,230 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 3 years ago by GustavoHow-tos1 comment – viewed 32,895 times – ( +16 ) – version 1.1
How to create a simple (non-RBAC) authorization system

How to set up Unicode

Updated 3 years ago by Roman SolomatinHow-tos10 comments – viewed 86,120 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 3 years ago by TrejderHow-tos4 comments – viewed 35,125 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 3 years ago by TrejderHow-tos4 comments – viewed 12,695 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.

Integrating HybridAuth directly into Yii without an extension

Updated 3 years ago by biz devHow-tos8 comments – viewed 36,047 times – ( +14 ) – version 1.1
This article tries to explain the steps required in integrating the HybridAuth into Yii directly, without using an extension.

Implementing menu items with progress (wait) dialog

Updated 3 years ago by TrejderHow-tos0 comments – viewed 6,326 times – ( +1 ) – version 1.1
This article shows one of possible ways to implement menu items (as well as links), which displays a progress / wait dialog and are redirecting browser to destination URL in the same time. This is especially useful, for links or routes that are know to be loaded for a prolonged period of time (i.e. getting a lot of data from database).