Wiki articles in category Tutorials

Showing 21-40 of 40 items.
Created 3 years ago by Asmaa, updated 3 years ago by Asmaa.

How to display images in CJuiAutoComplete without extenstions

I wanted to customize the CJuiAutoComplete, so that it displays a thumb image before the label like the one shown in the following image:

0 0
1 follower
Viewed: 6 422 times
Version: all
Category: Tutorials
Created 3 years ago by sirin k, updated 10 months 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

3 0
16 followers
Viewed: 114 785 times
Version: 2.0
Category: Tutorials
Created 3 years ago by Ankit Modi, updated 3 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: 35 178 times
Version: all
Category: Tutorials
Created 3 years ago by Ankit Modi, updated 3 years ago by Ankit Modi.

Manage Email Template content from database

Hi Friends,

0 1
2 followers
Viewed: 9 152 times
Version: all
Category: Tutorials
Created 3 years ago by Mohammad Fareed, updated 3 years ago by Mohammad Fareed.

CRUD operation in Yii framework

Simple Yii Script for performing CRUD operations:

0 4
5 followers
Viewed: 17 286 times
Version: all
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....

2 0
41 followers
Viewed: 45 883 times
Version: 2.0
Category: Tutorials
Created 3 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: 56 623 times
Version: 2.0
Category: Tutorials
Created 3 years ago by Kartik V, updated 3 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 211 times
Version: 2.0
Category: Tutorials
Created 3 years ago by Kartik V, updated 3 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 088 times
Version: 2.0
Category: Tutorials
Created 3 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:

2 2
40 followers
Viewed: 12 985 times
Version: 2.0
Category: Tutorials
Created 3 years ago by Kartik V, updated 3 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 108 times
Version: 2.0
Category: Tutorials
Created 3 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: 42 718 times
Version: 2.0
Category: Tutorials
Created 3 years ago by Kartik V, updated 3 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 327 times
Version: 2.0
Category: Tutorials
Created 3 years ago by realtebo, updated 2 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 608 times
Version: 2.0
Category: Tutorials
Created 4 years ago by jcagentzero, updated 3 years ago by jcagentzero.

Automatically get the SVN Revision Number of your Project

When you are handling so many projects and those projects are saved in different repository locations, you may find it very difficult to keep track all the versions and revisions manually and it will be much harder if you are developing in multiple repository branches.

3 0
4 followers
Viewed: 5 902 times
Version: all
Category: Tutorials
Created 4 years ago by Kartik V, updated 3 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: 172 855 times
Version: 2.0
Category: Tutorials
Created 4 years ago by nineinchnick, updated 25 days 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 331 times
Version: all
Category: Tutorials
Created 4 years ago by Ankit Modi, updated 3 years ago by Ankit Modi.

Display Status image on CGridView column

How to display status image on admin gridview.

0 0
4 followers
Viewed: 14 574 times
Version: all
Category: Tutorials
Created 4 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: 202 244 times
Version: 2.0
Category: Tutorials
Created 6 years ago by yJeroen, updated 13 days 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: 89 462 times
Version: all
Category: Tutorials