Wiki articles

Showing 61-80 of 155 items.
Created 3 years ago by ezekielnoob, updated 3 years ago by ezekielnoob.

Simple way to implement Dynamic Tabular Inputs

grid

1 0
9 followers
Viewed: 24 408 times
Version: all
Category: Tutorials
Created 3 years ago by MadAnd, updated 3 years ago by MadAnd.

yii2-app-advanced on single domain (Apache, Nginx)

If you develop rather complex applications with Yii2, you might already be familiar with yii2-app-advanced application template. Well, the template is awesome and provides high flexibility regarding code/configuration sharing among parts of an application.

3 0
13 followers
Viewed: 77 593 times
Version: 2.0
Category: How-tos
Created 3 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).

5 0
10 followers
Viewed: 33 458 times
Version: 2.0
Category: How-tos
Created 3 years ago by darioo, updated 3 years ago by darioo.

Using PayPal IPN with Yii2

I'm using PayPal's script from

0 0
1 follower
Viewed: 7 423 times
Version: 2.0
Category: Tips
Created 3 years ago by johonunu, updated 3 years ago by johonunu.

Debuging variables in Yii2

This tutorial is explained following "basic" application structure.

1 1
6 followers
Viewed: 19 194 times
Version: 2.0
Category: Tips
Created 3 years ago by schmunk, updated 3 years ago by schmunk.

`forceCopy` per Asset Bundle

During development and depending on your setup you may need to use the options forceCopy or linkAssets of the asset manager to work around possible file-system and permission issues.

1 0
1 follower
Viewed: 6 293 times
Version: 2.0
Category: How-tos
Created 3 years ago by VivekYii, updated 3 years ago by VivekYii.

YII2 Pagination Options

solution here If we are using default pagination option like

1 0
1 follower
Viewed: 10 324 times
Version: 2.0
Category: Tips
Created 3 years ago by robregonm, updated 3 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: 18 930 times
Version: 2.0
Category: How-tos
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 056 times
Version: 2.0
Category: Tutorials
Created 3 years ago by softark, updated 7 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: 63 181 times
Version: 2.0
Category: Tutorials
Created 3 years ago by mariosimaremare, updated 3 years ago by mariosimaremare.

Moving the vendor directory for multiple projects

This How-To is useful if you are planning to move the Yii vendor directory outside the default location.

4 0
4 followers
Viewed: 16 928 times
Version: 2.0
Category: How-tos
Created 3 years ago by Sreenadh, updated 3 years ago by Sreenadh.

Pjax on ActiveForm and GridView - Yii2

Here is a example on how to use Pjax with GridView (yii\grid\GridView) and ActiveForm (yii\widgets\ActiveForm) widgets in Yii2.

5 0
13 followers
Viewed: 103 724 times
Version: 2.0
Category: How-tos
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: 69 605 times
Version: 2.0
Category: Tutorials
Created 3 years ago by Deepak Pradhan, updated 3 years ago by Deepak Pradhan.

Analyse the server's USER-AGENT against browsecap file to determine it's capability.

Does your application need to know user's details on browser details, os and device type? We can use PHP's misc. function to achieve that provided you have an update copy of browsercap.ini

0 0
0 follower
Viewed: 4 288 times
Version: 2.0
Category: Tips
Created 3 years ago by hrnair, updated 3 years ago by hrnair.

Yii2: Configuring different sessions for backend and frontend in Yii Advanced Application Template

This is as an extension of this wiki by Kartik V which shows to make different enableAutoLogin cookies for frontend and backend.

2 0
7 followers
Viewed: 29 138 times
Version: 2.0
Category: How-tos
Created 3 years ago by Scott_Huang, updated 3 years ago by Scott_Huang.

Easy way to redirect http:\\localhost\yii2-basic to http:\\localhost\yii2-basic\web\index.php

First of all, install yii2 basic template according below link:

1 0
5 followers
Viewed: 22 380 times
Version: 2.0
Category: Tips
Created 3 years ago by Scott_Huang, updated 3 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: 46 561 times
Version: 2.0
Category: Tips
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: 24 873 times
Version: 2.0
Category: Tutorials
0 0
5 followers
Viewed: 31 311 times
Version: 2.0
Category: How-tos
Created 3 years ago by Misbahul D Munir, updated 3 years ago by Misbahul D Munir.

Create Form With DynamicModel

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

1 0
7 followers
Viewed: 24 803 times
Version: 2.0
Category: Tips
Tags: form, model, yii2