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

A Single Page with a List and a Detail

Created 14 days ago by softarkHow-tos1 comment – viewed 1,652 times – ( +2 ) – 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 18 days ago by Wade ShulerHow-tos0 comments – viewed 1,245 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 3 months ago by junaidatariHow-tos0 comments – viewed 5,403 times – ( +1 ) – version 2.0
tags: yii2, cdn, assets

Yii 2 Advanced Project Template using Shared Hosting

Created 4 months ago by marciocamelloHow-tos0 comments – viewed 4,694 times – version 2.0

MySQL migration environment

Created 8 months ago by Fabrizio CaldarelliHow-tos0 comments – viewed 4,477 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 9 months ago by oligalmaHow-tos1 comment – viewed 8,428 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 9 months ago by Chris BackhouseHow-tos1 comment – viewed 4,794 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 9 months ago by dariooHow-tos2 comments – viewed 4,103 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.

How to have truly multilingual URLs

Created 9 months ago by oligalmaHow-tos1 comment – viewed 3,602 times – version 1.1
We can easily have a multilingual site if we put a "lang" parameter that comes via GET. For example:

Simple revealing and hiding the password in the password field

Created 10 months ago by BizleyHow-tos2 comments – viewed 4,514 times – ( +2 ) – version 2.0
There are numerous usability problems: