Wiki

Articles in category "how-tos"X
Displaying 151-160 of 322 result(s).

How to change Migration Table name and use defined prefix.

Created about a year ago by JorgeeHow-tos1 comment – viewed 6,194 times – ( +3 ) – version 1.1
To accomplish the task of changing Migration table's name, by default tbl_migration, you need to add the following in your ./protected/config/console.php.

Using Google Maps in Yii Applications via Jquery

Created about a year ago by bluyellHow-tos2 comments – viewed 10,614 times – ( +2 / -1 ) – version 1.1

Implementing a Flat User Access System

Created about a year ago by TrejderHow-tos1 comment – viewed 7,970 times – ( +9 ) – version 1.1
This article shows a quick and easy way to implement flat user access control system. Flat means, that user access is controlled by level only, which is solution exactly opposite to complex RBAC access systems.

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

Created about a year ago by br0skHow-tos9 comments – viewed 13,981 times – ( +3 ) – version 1.1
This wiki shall be considered deprecated since the Yii installer for composer has been discontinued.

YiiBooster: How to implement files and images upload on TbRedactor Widget

Created about a year ago by Antonio RamirezHow-tos3 comments – viewed 19,419 times – ( +13 ) – version 1.1
I have been requested to provide a tutorial on how to use the file upload feature of the TbRedactor widget, and even though I am no longer supporting the library due that the work belongs to Clevertech, I feel that I owe that to the Yii developers. So, here is the  tutorial.

Using Grunt for deploying client scripts

Created about a year ago by Chris83How-tos8 comments – viewed 11,778 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.

Open Dialog from ajax content

Created about a year ago by TouzasHow-tos1 comment – viewed 11,988 times – ( +4 / -1 ) – version 1.1
This tutorial will show you how to create Ajax dialog. It's very simple code.

Integrating HybridAuth directly into Yii without an extension

Created about a year ago by biz devHow-tos7 comments – viewed 26,192 times – ( +14 ) – version 1.1
This article tries to explain the steps required in integrating the HybridAuth into Yii directly, without using an extension.

Limit a CGridView field to some preset length.

Created about a year ago by le_topHow-tos1 comment – viewed 8,692 times – ( +12 ) – version 1.1
Sometimes text inside a gridview column is just too long. That's why I figured out a way to make the column smaller while still providing the information.