Wiki articles

Showing 21-40 of 142 items.
Created 3 years ago by ezekielnoob, updated a month ago by samdark.

Simple way to implement Dynamic Tabular Inputs

grid

2 0
11 followers
Viewed: 28 443 times
Version: 2.0
Category: Tutorials
Created 3 years ago by skworden, updated 3 years ago by skworden.

Load data from internal/external source to fill form fields

This wiki is to show you how to use jQuery get and JSON to get data from a dropdown/any form field and fill form fields with the values instantaneously. First, I'll give example use cases of what I'm going to teach you so you can quickly see if this is for you.

1 0
5 followers
Viewed: 21 292 times
Version: 2.0
Category: How-tos
Created 2 years ago by schmunk, updated 2 years ago by samdark.

Boost composer-asset-plugin update speed

If you're using a lot of bower and npm assets with Yii 2.0 you might encounter long running composer update tasks.

6 0
6 followers
Viewed: 18 126 times
Version: 2.0
Category: Tips
Created 2 years ago by Sherin Jose, updated 2 years ago by Sherin Jose.

Installation guide: Yii-2 advanced template with RBAC system

Welcome, all of you !

7 1
19 followers
Viewed: 78 144 times
Version: 2.0
Category: Tutorials
Tags: install, rbac, yii2
Created 4 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.

11 0
12 followers
Viewed: 71 389 times
Version: 2.0
Category: Tutorials
Created 3 years ago by ajith, updated 3 years ago by ajith.

Simple Jui Autocomplete in yii2

To use jui auto complete widget first add

0 0
3 followers
Viewed: 30 323 times
Version: 2.0
Category: Tutorials
Created 3 years ago by softark, updated 11 months ago by softark.

How to create/update a model with its related items using Listbox or CheckboxList

Assume we have many categories and many posts.

3 0
6 followers
Viewed: 27 923 times
Version: 2.0
Category: Tutorials
Created 2 years ago by emrald, updated 2 years ago by emrald.

How to make bootstrap tabs remain active/selected after navigating to different web pages.

Bootstrap tabs gets unselected/inactive when user navigates to other page and comes back. How to make bootstrap tabs remain active/selected after navigating to different web pages.

1 0
3 followers
Viewed: 8 800 times
Version: 2.0
Category: Tutorials
Created 4 years ago by Kartik V, updated 3 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: 15 188 times
Version: 2.0
Category: Tutorials
Created 4 years ago by Kartik V, updated 4 years ago by Kartik V.

Managing a star rating with the StarRating widget in Yii 2

In Yii 1.x, there was a built in widget CStarRating based on the jquery star rating plugin. There exists no prebuilt solution in Yii2, however the same concepts can be extended using any jquery plugin.

1 3
41 followers
Viewed: 15 583 times
Version: 2.0
Category: How-tos
Created 8 months ago by Necip, updated 7 months ago by Necip.

An alternative way to ElasticSearch

This article is for those who have dealt with the complexity of Elasticsearch or any other indexing machines and are looking for an easier way to index the existing database without additional effort.

1 0
2 followers
Viewed: 6 183 times
Version: all
Category: How-tos
Created 4 years ago by ThePr0f3550r, updated a year ago by alrazi.

Creating a Dependent Dropdown From Scratch in Yii2

I have read http://www.yiiframework.com/wiki/24/creating-a-dependent-dropdown/ (Dependen Dropdown Yii1), but I can't implement it in Yii2 because Yii2 does not have built-in AJAX functionality hem.. I searched about it and came across this post

3 1
11 followers
Viewed: 97 435 times
Version: 2.0
Category: How-tos
Created 4 years ago by sirin k, updated a year ago by Maurizio Domba Cerin.

Write & use a custom Component in Yii2.0

This is a simple example in Yii2.0 to understand how you can write a custom component and use it inside your app.(basic template)

12 0
11 followers
Viewed: 93 569 times
Version: 2.0
Category: How-tos
Created 4 years ago by Antonio Ramirez, updated 3 years ago by deacs.

How to implement form events

You have that, when a product is on development they can change its API anytime. This change is quite important though, its related on how to set the events of your form, for example, the useful beforeSubmit.

5 0
6 followers
Viewed: 24 948 times
Version: 2.0
Category: How-tos
Tags: Forms, How to, yii2
Created 5 months ago by samdark, updated a month ago by samdark.

Using multiple models in an identity

Let's assume we have two models: Customer and Supplier and we want both to log in. Yii is quite flexible when it comes to authentication and authorization so it's possible.

8 1
2 followers
Viewed: 10 196 times
Version: 2.0
Category: How-tos
Created 4 years ago by Misbahul D Munir, updated 4 years ago by Misbahul D Munir.

Create Form With DynamicModel

In yii2 we can create form without create FormModel. Here we go

2 0
7 followers
Viewed: 29 342 times
Version: 2.0
Category: Tips
Tags: form, model, yii2
Created 4 years ago by Scott_Huang, updated 4 years ago by Scott_Huang.

Step by step for how to full export Yii2 grid to excel

We will leverage Yii2-excelview widget. So, first of all is install Yii2-excelview:

0 0
5 followers
Viewed: 52 399 times
Version: 2.0
Category: Tips
Created 4 years ago by robregonm, updated 4 years ago by robregonm.

Use minified version of JqueryAsset, BootstrapAsset (and all default assets)

By default, Yii 2.0 chooses to use the non-minified version of Jquery and Bootstrap files (CSS and JS). However, there's a simple way to indicate Yii to use the minified version.

5 0
5 followers
Viewed: 22 118 times
Version: 2.0
Category: How-tos
Created 4 years ago by johonunu, updated 4 years ago by johonunu.

Debuging variables in Yii2

This tutorial is explained following "basic" application structure.

2 1
6 followers
Viewed: 22 073 times
Version: 2.0
Category: Tips
Created 4 years ago by skworden, updated 3 years ago by skworden.

Use kartik Growl with Yii2 flash messages

This is to show you how to use Yii2 flash messages with Kartik Growl (bootstrap notify wrapper).

6 0
10 followers
Viewed: 36 818 times
Version: 2.0
Category: How-tos