Articles in category "how-tos"X
Displaying 1-10 of 354 result(s).

How to customize your grid columns visible and order by user themselves

Created 6 days ago by Scott_HuangHow-tos0 comments – viewed 740 times – version 1.1
Cusomized your grid columns by user themselves, allow user to hide/show columns or re-order the columns sequences.

Yii2: How to create/develop a new extension using Composer locally without version control or Git

Created 2 months ago by Wade ShulerHow-tos0 comments – viewed 4,871 times – ( +1 ) – version 2.0
Using a version control system, like Git, is nice. However, when building an extension from scratch and loading it via Composer, it adds a lot of pain in the butt steps. You have to commit your changes, update composer to pull them over, then notice there is an error, fix, commit, update. repeat.. I don't want all my baby steps under Git. Sure, I could edit my commit history, but c'mon. Just let me code! I will put it under version control once I get a baseline created. This guide will show you how to setup your composer.json to load a local directory (everything inside, live). You make a change, save the file, refresh the page, boom.

A Single Page with a List and a Detail

Created 3 months ago by softarkHow-tos1 comment – viewed 5,232 times – ( +3 ) – version 2.0
The CRUD generator of Gii has done a wonderful job for you, and you already have a list of items in the "index" page and a detailed view of a specified item in the "view" page.
tags: gridview, detail, ajax

How To: Custom Client Validation On Checkbox Toggle and Optional Input Field

Created 3 months ago by Wade ShulerHow-tos0 comments – viewed 3,305 times – version 2.0
I just chased my tail around for a bit today. I got lost with setting the status of all inputs, and banging my head on why the "validate" function just wasn't working.

Yii2cdn Component

Created 6 months ago by junaidatariHow-tos0 comments – viewed 7,208 times – ( +1 ) – version 2.0
tags: yii2, cdn, assets

Yii 2 Advanced Project Template using Shared Hosting

Created 7 months ago by marciocamelloHow-tos0 comments – viewed 5,358 times – version 2.0

MySQL migration environment

Created 11 months ago by Fabrizio CaldarelliHow-tos0 comments – viewed 4,893 times – version 2.0
It can happen that you work in development environment and you make changes to database tables structures, adding tables, or changing fields.

How to install Yii 2 advanced on a shared hosting environment

Created 12 months ago by oligalmaHow-tos1 comment – viewed 10,151 times – ( +3 ) – version 2.0
I've read many comments that it's not possible to install Yii 2 advanced on a shared hosting environment, as it has two webroots. This is partially true.

Simple Google Maps object for use with ajax maps

Created about a year ago by Chris BackhouseHow-tos1 comment – viewed 5,648 times – ( +1 ) – version 2.0
The Google mapping extension by Dos Amigos (link) is really great but there are difficulties with Google maps when you want to manipulate your map object with Ajax.
tags: googlemap, maps

Execute migration on server/linux using shell

Created about a year ago by dariooHow-tos2 comments – viewed 4,715 times – version 2.0
It's easy to execute migration locally on XAMPP using cmd, but on server where you script is it's little bit harder.