Wiki

Articles in category "how-tos"X
Displaying 11-20 of 182 result(s).

How to change Migration Table name and use defined prefix.

Created about a month ago by JorgeeHow-tos0 comments – viewed 1,257 times – ( +3 )
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 month ago by bluyellHow-tos0 comments – viewed 2,197 times – ( +2 )

Implementing a Flat User Access System

Created about a month ago by TrejderHow-tos0 comments – viewed 1,895 times – ( +6 )
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

Created about a month ago by br0skHow-tos3 comments – viewed 3,094 times – ( +3 )
This way of using Composer is different from the Phundament 3 based wiki in that it is using the new official Composer installer for Yii. It is also only making use of Packagist not the packages at packages.phundament.com. This wiki doesn't aim to replace the Phundament 3 based wiki it is just another way of doing it and I really like the fact that it can use Packagist directly and not a separate repository.

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

Created about a month ago by Antonio RamirezHow-tos2 comments – viewed 4,285 times – ( +9 )
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 2 months ago by Chris83How-tos8 comments – viewed 3,181 times – ( +5 )
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 2 months ago by TouzasHow-tos1 comment – viewed 4,003 times – ( +3 / -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 2 months ago by biz devHow-tos2 comments – viewed 3,717 times – ( +8 )
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 2 months ago by le_topHow-tos1 comment – viewed 2,254 times – ( +8 )
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.