Wiki

Articles in category "tutorials"X
Displaying 1-10 of 241 result(s).

Export query content to excel through any of your controllers, also can set cssClass for header/odd/even rows, auto download

Created about a month ago by Scott_HuangTutorials1 comment – viewed 2,434 times – ( +1 ) – version 2.0
I have generate one extension base below wiki. You can easily download and use it directly instead of digest below article. http://www.yiiframework.com/extension/yii2-export2excel/

YII2 : simple language Switcher Widget

Created 3 months ago by phunsanitTutorials0 comments – viewed 2,727 times – version 2.0
ภาษาไทย YII 2 Widget เปลี่ยนภาษา

Simple way to implement Dynamic Tabular Inputs

Created 4 months ago by ezekielnoobTutorials1 comment – viewed 4,306 times – ( +4 ) – version all

Active Record snapshotting (Model data base history)

Created 5 months ago by BizleyTutorials3 comments – viewed 2,711 times – ( +2 ) – version 1.1
One of the common tasks the web application might be required to perform, especially the app using some kind of a CMS, is to save the history of data changes. Your client for sure will want the answer to this simple question - If I mess this up or delete by accident can we bring it back? Well, DB backup is one thing and quick recovery is another - let's talk about latter one.

Running applications with Docker

Created 6 months ago by schmunkTutorials1 comment – viewed 6,292 times – ( +6 ) – version 2.0
When building PHP web applications you usually have to take care about defining and providing a consistent development and production environment for your team. This includes your application packages, PHP-extensions, database servers and often further components such as a mail server or workers.

Drills : Search by a HAS_MANY relation in Yii 2.0

Created 7 months ago by softarkTutorials1 comment – viewed 8,457 times – ( +9 ) – version 2.0
This article tries to describe the practical techniques of searching by a HAS_MANY relation using ActiveRecord of Yii 2.0.

Gettext and Poedit HOWTO

Created 8 months ago by Maug LeeTutorials0 comments – viewed 2,565 times – version 1.1
Example settings when using Gettext for i18n.

RBAC Super Simple with Admin and User

Created 8 months ago by evercodeTutorials9 comments – viewed 23,344 times – ( +10 / -3 ) – version 2.0
One of the common requests I see in the forum is how to implement RBAC. While you can implement Yii 2's built-in RBAC, that might be too much for developers who are just starting with Yii 2 or have simpler needs. Sometimes you are looking for a fast solution and just want two flavors, user and admin. And even if you will eventually need more, you can use these methods as a starting point for developing your own features or move on to Yii 2's RBAC.

Simple Way to Upload and Save File

Created 9 months ago by Misbahul D MunirTutorials0 comments – viewed 8,851 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

How to use imagine ( crop, thumb, effects for images ) on Yii2

Created 9 months ago by Anas AbuDayahTutorials0 comments – viewed 10,792 times – ( +6 ) – version 2.0
Imagine adds most common image functions and also acts as a wrapper to Imagine image manipulation library.