Wiki

Articles in category "tutorials", sorted by viewsX
Displaying 161-170 of 249 result(s).

Upload CSV File

Created 3 years ago by bhavesh vaghelaTutorials2 comments – viewed 14,181 times – ( +7 ) – version 1.1
View file

Caching the config main.php

Created 4 years ago by dckurushinTutorials11 comments – viewed 14,030 times – ( +4 / -2 ) – version 1.1
The config long array included every time, and it's not cached at all!

How to make customizable Db Table prefixes using ActiveRecord

Created 6 years ago by killermonkTutorials0 comments – viewed 14,018 times – version 1.1
Note: As of Yii 1.1.x this functionality is integrated into the framework. If you are using 1.1.x please disregard this article and use the built-in functionality.

free PHP IDE CodeLobster supports Yii framework

Created 4 years ago by clodTutorials0 comments – viewed 14,002 times – ( +5 ) – version 1.1
This page is created to supply short directions and general tips for managing a Yii application in Codelobster PHP Edition.

Simple Mail Queue

Created 2 years ago by waterloomattTutorials3 comments – viewed 13,942 times – ( +10 / -2 ) – version 1.1
This tutorial shows how to create a simple mail queue. It is usually run from a cron job but can be run from the command line too.

YII SaaS Multi Tenant application with single database

Created 2 years ago by Rajith RTutorials5 comments – viewed 13,934 times – ( +11 / -10 ) – version 1.1
Lots of people are asking how to solve it with YII,We think its difficult with YII. But its easy to solve . There is no database triggers needed . we can simply sove it by extending a class(say "RActiveRecord") from CActiveRecord .Then extend all our model classes from that class.

Starting with YII 1.1.x in Windows Environment (WAMP)

Created about a year ago by Rajith RTutorials0 comments – viewed 13,553 times – ( +8 ) – version 1.1
As we know YII is the Leading Framework of PHP. Lots of new developers are starting to use YII day by day. Most of the beginners are little bit confused with how to start with YII . I think this note will help them. Follow the simple steps To run a Yii-powered Web application, you need a Web server that supports PHP 5.1.0.
tags: newbie, yii, yiic

Create image thumbnails with php_img_preview

Created 3 years ago by Anas AbuDayahTutorials6 comments – viewed 13,237 times – ( +3 ) – version 1.1
This is another way to view images in your application and I like this way because it's simple and I think it's better performance than other.
tags: images, views

i18n for your model in just 1 line

Created 6 years ago by mintaoTutorials0 comments – viewed 12,871 times – ( +12 ) – version 1.1
A simple trick to get the localized version of a model field is to add this little method to your models.
tags: i18n

Simple Way to Upload and Save File

Created about a year ago by Misbahul D MunirTutorials0 comments – viewed 12,815 times – ( -2 ) – version 2.0
This tutorial need extension mdmsoft/yii2-upload-file. Follow the intruction to install. After installation done, create controller and action