Wiki

Sorted by viewsX
Displaying 421-430 of 782 result(s).

Get 'source' data from the database - for TbEditableColumn or EditableColumn ('type'=>'select' / dropdownlist)

Created 3 years ago by Gerhard LiebenbergHow-tos0 comments – viewed 16,298 times – ( +4 / -1 ) – version 1.1
If you want to edit data directly in the gridview in a 'dropdownlist' style, then you could use the 'type' => 'select' option of TbEditableColumn (YiiBooster) or EditableColumn (x-editable for Yii). This wiki shows how to get data from the db for the 'dropdownlist', by converting AR model data into an array that is passed in json format.

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

Created 2 years ago by Kartik VTutorials0 comments – viewed 16,129 times – ( +38 / -5 ) – version 2.0
Have you faced some of these problems when using composer with your Yii 2 installation?

Open Dialog from ajax content

Created 3 years ago by TouzasHow-tos1 comment – viewed 16,044 times – ( +4 / -1 ) – version 1.1
This tutorial will show you how to create Ajax dialog. It's very simple code.

How to change the confirmation message on admingridview button and call a ajax..Dynamic

Created 3 years ago by Ankit ModiTips0 comments – viewed 16,017 times – ( +3 ) – version 1.1
Hi Friends,

Running applications with Docker

Created about a year ago by schmunkTutorials1 comment – viewed 15,955 times – ( +7 ) – version 2.0
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.

Upload CSV File

Created 3 years ago by bhavesh vaghelaTutorials2 comments – viewed 15,940 times – ( +8 ) – version 1.1
View file

How to hide `index` action from URL

Created 4 years ago by rootbearHow-tos2 comments – viewed 15,903 times – ( +3 / -2 ) – version 1.1
Here is my experiment inspired by my own question and others from the forum.
tags: index

Sub-domains with different databases in Yii!

Created 5 years ago by jwerdHow-tos5 comments – viewed 15,836 times – ( +2 ) – version 1.1
Sub-domains with different databases in Yii!

Simple Way to Upload and Save File

Created 2 years ago by Misbahul D MunirTutorials0 comments – viewed 15,800 times – ( -2 ) – version 2.0
This tutorial need extension mdmsoft/yii2-upload-file. Follow the intruction to install. After installation done, create controller and action