Articles in category "tutorials", sorted by date (updated)X
Displaying 11-20 of 251 result(s).

Handling tabular data loading and validation in Yii 2

Updated 9 months ago by Said BakrTutorials6 comments – viewed 32,043 times – ( +44 / -6 ) – version 2.0
How do you read and handle tabular data submission via form in Yii framework 2.0? Sometimes we want to collect user input in a batch mode. That is, the user can enter the information for multiple model instances and submit them all at once. We call this tabular input because the input fields are often presented in an HTML table.

Relational Query - Lazy Loading and Eager Loading in Yii 1.1 / with and together

Updated 9 months ago by softarkTutorials11 comments – viewed 35,433 times – ( +17 ) – version 1.1
It's well known that there are Lazy Loading approach and Eager Loading approach in the relational query. But it's important to note that you should distinguish 2 different modes in the Eager Loading in Yii 1.1.x.

Drills : Search by a HAS_MANY relation in Yii 2.0

Updated 9 months ago by softarkTutorials4 comments – viewed 36,980 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.

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

Updated 9 months ago by CozumelTutorials1 comment – viewed 33,441 times – ( +8 ) – version 2.0
Imagine adds most common image functions and also acts as a wrapper to Imagine image manipulation library.

A simple widget - jump2link

Updated 10 months ago by Scott_HuangTutorials0 comments – viewed 5,763 times – version 2.0
Jump 2 Link

Simple Jui Autocomplete in yii2

Updated 11 months ago by ajithTutorials3 comments – viewed 10,562 times – ( -1 ) – version 2.0
In this tutorial i will explain how to use jui auto complete in yii2. The Autocomplete widget enables users to quickly find and select from a pre-populated list of values as they type, leveraging searching and filtering.

Yii for beginners 2

Updated about a year ago by rackyczTutorials2 comments – viewed 52,049 times – ( +32 ) – version 1.1
Hi :-) Is that you again? Welcome !! :-)

Using your own forked version of extensions with composer

Updated about a year ago by Kartik VTutorials3 comments – viewed 8,181 times – ( +39 / -4 ) – version 2.0
So you want to use a fork of any existing vendor extension with your Yii 2 install and use the fork, instead of original source. This does not need you to push any update or register your package on You are recommended to follow the approach below:

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

Updated about a year ago by Scott_HuangTutorials1 comment – viewed 8,517 times – ( +2 ) – version 2.0
I have generate one extension base below wiki. You can easily download and use it directly instead of digest below article.

How to upload a file using a model

Updated about a year ago by samdarkTutorials6 comments – viewed 420,681 times – ( +86 / -6 ) – version 1.1
First declare an attribute to store the file name in the model class (either a form model or an active record model). Also declare a file validation rule for this attribute to ensure a file is uploaded with specific extension name.
tags: File upload