Wiki

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

Upload CSV File

Created 3 years ago by bhavesh vaghelaTutorials2 comments – viewed 15,101 times – ( +8 ) – version 1.1
View file

Simple Mail Queue

Created 3 years ago by waterloomattTutorials3 comments – viewed 15,033 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.

How to log context information to logger (session id, user, ...)

Created 7 years ago by olafureTutorials0 comments – viewed 14,839 times – ( +2 ) – version 1.1
Logging context information (session, user, ...) to the logfile can be of great help tracking down problems with specific users.
tags: Logging

YII SaaS Multi Tenant application with single database

Created 3 years ago by Rajith RTutorials5 comments – viewed 14,699 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.

Caching the config main.php

Created 4 years ago by dckurushinTutorials11 comments – viewed 14,495 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 7 years ago by killermonkTutorials0 comments – viewed 14,473 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,341 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 Way to Upload and Save File

Created about a year ago by Misbahul D MunirTutorials0 comments – viewed 14,336 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

YII2: Create console commands inside a module or extension

Created about a year ago by MetaCrawlerTutorials5 comments – viewed 14,108 times – ( +3 ) – version 2.0
Here is a small guide how to get console commands running inside modules & extensions. For this guide I used a fresh yii2 basic application template.
tags: yii2, tutorial, config

What to do when composer fails to update your vendor packages?

Created 2 years ago by Kartik VTutorials0 comments – viewed 14,015 times – ( +38 / -5 ) – version 2.0
Have you faced some of these problems when using composer with your Yii 2 installation?