Wiki articles in category Tutorials

Showing 21-40 of 40 items.
Created 3 years ago by Misbahul D Munir, updated 3 years ago by Misbahul D Munir.

Simple Way to Upload and Save File

This tutorial need extension mdmsoft/yii2-upload-file. Follow the intruction to install. After installation done, create controller and action

0 0
4 followers
Viewed: 25 315 times
Version: 2.0
Category: Tutorials
Created 2 years ago by ajith, updated 2 years ago by ajith.

Simple Jui Autocomplete in yii2

To use jui auto complete widget first add

0 0
3 followers
Viewed: 26 345 times
Version: 2.0
Category: Tutorials
Created 3 years ago by schmunk, updated 3 years ago by schmunk.

Running applications with Docker

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.

4 0
8 followers
Viewed: 28 596 times
Version: 2.0
Category: Tutorials
Created 3 years ago by MetaCrawler, updated a month ago by Luis Armando.

YII2: Create console commands inside a module or extension

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.

5 0
6 followers
Viewed: 29 149 times
Version: 2.0
Category: Tutorials
Created 4 years ago by Kartik V, updated 4 years ago by Kartik V.

Managing your nested dropdown dependency with DepDrop widget

If you are coming over to Yii 2 from Yii 1.x, you may have already read this useful wiki for creating dependent dropdowns. You can use a similar approach in Yii 2 to do the same. But if you are looking at a prebuilt solution that helps you manage it easier, read along.

1 3
42 followers
Viewed: 31 026 times
Version: 2.0
Category: Tutorials
Created 4 years ago by nineinchnick, updated 4 months ago by CeBe.

Clean JavaScript code in your views

This tutorial presents a way of separating JS code from views and passing to it values from PHP.

18 0
23 followers
Viewed: 32 973 times
Version: all
Category: Tutorials
Created a year ago by Amjad Khan, updated a year ago by Amjad Khan.

Yii2 GridView Sorting and Searching with a Junction Table Column(Many to Many Relationship)

Following is the table structure

tblgroups

CREATE TABLE IF NOT EXISTS `tblgroups` (
  `id` int(11) NOT NULL,
  `groupname` varchar(150) NOT NULL,
  `status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '1=Acitve,2=Inactive',
  `date` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

tblcontacts

0 0
6 followers
Viewed: 37 147 times
Version: 2.0
Category: Tutorials
Created 4 years ago by Ankit Modi, updated 4 years ago by Ankit Modi.

How to display Dependent drop-down value using ajax call with dynamically

Hi Friends, In this tutorial I write a code display dependent drop-down value using ajax call.

0 1
5 followers
Viewed: 37 311 times
Version: all
Category: Tutorials
Created 4 years ago by Kartik V, updated 2 years ago by Said Bakr.

Handling tabular data loading and validation in Yii 2

The only differences in Yii 2 is that its much simpler due to available functions in the Model class for loading and validating models.

2 2
51 followers
Viewed: 44 436 times
Version: 2.0
Category: Tutorials
Created 4 years ago by Kartik V, updated 4 years ago by Kartik V.

Relational data fields display and edit with the yii2-detail-view extension

If you have read this wiki you would be aware of the yii2-detail-view extension and how it offers you an easy way to EDIT and VIEW your model data, toggle these modes, and other features. You can [read the extension documentation](http://demos....

4 0
41 followers
Viewed: 48 041 times
Version: 2.0
Category: Tutorials
Created 4 years ago by Kartik V, updated 4 years ago by Kartik V.

Filter & Sort by Summary Data in GridView Yii 2.0

This wiki explains how to add summary data from related models into your Yii Framework 2.0 gridview with filtering and sorting by the summary columns.

3 2
48 followers
Viewed: 51 932 times
Version: 2.0
Category: Tutorials
Created 4 years ago by Kartik V, updated 4 years ago by Kartik V.

Editing, Deleting, and Viewing model data with the yii2-detail-view extension

The yii2-detail-view extension offers you an easy way to EDIT and VIEW your model data, toggle these modes, and adds other features. You can read the extension documentation and/or view a demo of this extension, to understand usage.

1 0
43 followers
Viewed: 60 053 times
Version: 2.0
Category: Tutorials
Created 3 years ago by softark, updated 8 months ago by softark.

Drills : Search by a HAS_MANY relation in Yii 2.0

This article tries to describe the practical techniques of searching by a HAS_MANY relation using ActiveRecord of Yii 2.0.

10 0
11 followers
Viewed: 64 304 times
Version: 2.0
Category: Tutorials
Created 3 years ago by Anas AbuDayah, updated 2 years ago by Cozumel.

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

Imagine adds most common image functions and also acts as a wrapper to Imagine image manipulation library.

4 0
12 followers
Viewed: 65 472 times
Version: 2.0
Category: Tutorials
Created a year ago by Sherin Jose, updated a year ago by Sherin Jose.

Installation guide: Yii-2 advanced template with RBAC system

Welcome, all of you !

4 0
18 followers
Viewed: 68 915 times
Version: 2.0
Category: Tutorials
Tags: install, rbac, yii2
Created 3 years ago by evercode, updated 3 years ago by evercode.

RBAC Super Simple with Admin and User

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 devel...

6 1
14 followers
Viewed: 70 514 times
Version: 2.0
Category: Tutorials
Created 6 years ago by yJeroen, updated 4 months ago by CeBe.

How to learn Yii?!

Here is a step by step To-Do list for Yii beginners. The list is an advice of what tutorials and documentation you can walk through to get a full understanding of the Yii Framework. These can be a help to learn Yii.

17 0
21 followers
Viewed: 91 735 times
Version: all
Category: Tutorials
Created 3 years ago by sirin k, updated a year ago by Maurizio Domba Cerin.

Building a REST API in Yii2.0

This is wiki page is useful if you are trying to build a customized REST API in Yii2.0

4 0
16 followers
Viewed: 119 708 times
Version: 2.0
Category: Tutorials
Created 4 years ago by Kartik V, updated 2 months ago by Kabinenkoffer.

Filter & Sort by calculated/related fields in GridView Yii 2.0

This wiki explains how to add calculated fields into your Yii Framework 2.0 gridview with filtering and sorting.

10 2
62 followers
Viewed: 180 557 times
Version: 2.0
Category: Tutorials
Created 5 years ago by Charles R. Portwood II, updated 4 years ago by Vivek.

Creating a Simple CRUD App With Yii2 (Revised 12/20/2013)

By popular demand, today I will be revisiting my previous Yii Framework 2 Getting Started Guide and updating it with what is currently available in the Yii Framework 2 Repository. Provide here is an super simple example CRUD application that will help you get started using the framework.

7 6
21 followers
Viewed: 206 752 times
Version: 2.0
Category: Tutorials