Wiki articles in category Tutorials tagged with "yii2"

Showing 1-20 of 20 items.
Created 7 months ago by sirin k, updated a month ago by CeBe.

Yii2 RESTful API with OAuth 2.0

https://cdn.pbrd.co/images/GMN5ROs.jpg

3 0
3 followers
Viewed: 18 307 times
Version: 2.0
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: 31 697 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
17 followers
Viewed: 60 394 times
Version: 2.0
Category: Tutorials
Tags: install, rbac, yii2
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: 23 947 times
Version: 2.0
Category: Tutorials
Created 2 years ago by MetaCrawler, updated a year ago by MetaCrawler.

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.

4 0
5 followers
Viewed: 26 977 times
Version: 2.0
Category: Tutorials
Created 3 years ago by phunsanit, updated 3 years ago by phunsanit.

YII2 : simple language Switcher Widget

  1. create file common\components\languageSwitcher.php
1 0
5 followers
Viewed: 16 160 times
Version: 2.0
Category: Tutorials
Created 3 years ago by softark, updated 5 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: 60 924 times
Version: 2.0
Category: Tutorials
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: 23 992 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: 62 236 times
Version: 2.0
Category: Tutorials
Created 3 years ago by Kartik V, updated 3 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: 46 507 times
Version: 2.0
Category: Tutorials
Created 4 years ago by Kartik V, updated 3 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: 57 512 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.

2 2
48 followers
Viewed: 49 978 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: 29 808 times
Version: 2.0
Category: Tutorials
Created 4 years ago by Kartik V, updated 2 years ago by Kartik V.

Using your own forked version of extensions with composer

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 packagist.org. You are recommended to follow the approach below:

3 2
40 followers
Viewed: 13 285 times
Version: 2.0
Category: Tutorials
Created 4 years ago by Kartik V, updated 4 years ago by Kartik V.

How to store array/widget configuration to the database with config validation rules

Note the tag {{homeUrl}} will be dynamically replaced at runtime.

0 2
40 followers
Viewed: 9 514 times
Version: 2.0
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: 43 213 times
Version: 2.0
Category: Tutorials
Created 4 years ago by Kartik V, updated 4 years ago by Kartik V.

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

  • Running a composer update does not fetch any new packages (even though the source is updated)
  • A specific vendor package never gets updated
  • Facing on and off problems when fetching packages while performing composer update.
  • You ran a composer update earlier, but it was partially done, before you lost network connectivity, and you cannot refresh packages anymore.
0 3
36 followers
Viewed: 22 911 times
Version: 2.0
Category: Tutorials
Created 4 years ago by realtebo, updated 3 years ago by realtebo.

Installare Yii 2.0.* usando XAMPP su Windows in versione portabile

Personalmente trovo che la versione "portable" sia molto piĆ¹ semplice da aggiornare, ed io tengo sempre costantemente aggiornato TUTTO il parco software relativo al mio webserver.

0 0
2 followers
Viewed: 15 828 times
Version: 2.0
Category: Tutorials
Created 4 years ago by Kartik V, updated 4 years ago by Kartik V.

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
61 followers
Viewed: 174 843 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: 203 644 times
Version: 2.0
Category: Tutorials