Wiki

Articles in category "how-tos", sorted by date (updated)X
Displaying 21-30 of 182 result(s).

How to change Migration Table name and use defined prefix.

Updated about a month ago by jambandHow-tos0 comments – viewed 1,259 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

Updated about a month ago by bluyellHow-tos0 comments – viewed 2,203 times – ( +2 )

How to use the official Yii installer for Composer

Updated about a month ago by br0skHow-tos3 comments – viewed 3,097 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.

Searching and Sorting by Count of Related Items in CGridView

Updated about a month ago by softarkHow-tos10 comments – viewed 16,052 times – ( +21 )
Let's say we have two models and relation between them:

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

Updated about a month ago by Antonio RamirezHow-tos2 comments – viewed 4,297 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

Updated 2 months ago by Chris83How-tos8 comments – viewed 3,184 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

Updated 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.

Cookie management in Yii

Updated 2 months ago by resurtmHow-tos4 comments – viewed 42,636 times – ( +39 / -1 )
Cookie management in Yii is easy, but may not be so obvious for the beginners to this framework, so I wrote this simple article to clear some doubts out.

Yii registry, how to use it, does it exist at all?

Updated 2 months ago by resurtmHow-tos2 comments – viewed 11,329 times – ( +6 )
From time to time people ask about registry...