Wiki

Articles in category "tutorials"X
Displaying 11-20 of 250 result(s).

YII2 : simple language Switcher Widget

Created about a year ago by phunsanitTutorials0 comments – viewed 8,843 times – ( +1 ) – version 2.0
ภาษาไทย YII 2 Widget เปลี่ยนภาษา

Simple way to implement Dynamic Tabular Inputs

Created about a year ago by ezekielnoobTutorials5 comments – viewed 13,307 times – ( +4 ) – version all

Active Record snapshotting (Model data base history)

Created about a year ago by BizleyTutorials3 comments – viewed 5,336 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 about a year ago by schmunkTutorials1 comment – viewed 14,206 times – ( +7 ) – 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 about a year ago by softarkTutorials4 comments – viewed 35,376 times – ( +19 ) – 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 about a year ago by Maug LeeTutorials0 comments – viewed 5,009 times – version 1.1
Example settings when using Gettext for i18n.

RBAC Super Simple with Admin and User

Created about a year ago by evercodeTutorials10 comments – viewed 46,566 times – ( +16 / -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 about a year ago by Misbahul D MunirTutorials0 comments – viewed 14,702 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 about a year ago by Anas AbuDayahTutorials1 comment – viewed 31,829 times – ( +8 ) – version 2.0
Imagine adds most common image functions and also acts as a wrapper to Imagine image manipulation library.

How to display images in CJuiAutoComplete without extenstions

Created about a year ago by AsmaaTutorials0 comments – viewed 4,674 times – version all
I wanted to customize the CJuiAutoComplete, so that it displays a thumb image before the label like the one shown in the following image: