Wiki

Articles in category "how-tos", sorted by date (updated)X
Displaying 11-20 of 355 result(s).

Interactive mode command-line command for Yii1

Updated 8 months ago by TrejderHow-tos0 comments – viewed 6,531 times – ( -1 ) – version 1.1
For one of my projects I needed an interactive console command in Yii 1, i.e. the one that is gathering all information from user in an interactive mode (a serie of questions and answers displayed directly in the console), ignoring command-line arguments at all.

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

Updated 9 months ago by Scott_HuangHow-tos0 comments – viewed 4,981 times – ( +1 / -1 ) – version 1.1
Cusomized your grid columns by user themselves, allow user to hide/show columns or re-order the columns sequences.

"safe" and "unsafe" Model validators (massive assignments)

Updated 10 months ago by brianvuHow-tos4 comments – viewed 21,867 times – ( +4 / -7 ) – version 1.1
Ok, it is a little bit difficult to full understanding the unsafe validator.

How to create a criteria condition for a multiple value text search i.e a "LIKE IN"

Updated 10 months ago by tophHow-tos2 comments – viewed 35,848 times – ( +1 / -2 ) – version 1.1
This is a shortcut for adding a text search for multiple values i.e.

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

Updated 11 months ago by Wade ShulerHow-tos0 comments – viewed 8,588 times – ( +3 / -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.

How to install Yii 2 advanced on a shared hosting environment

Updated about a year ago by oligalmaHow-tos1 comment – viewed 14,624 times – ( +3 / -1 ) – 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.

A Single Page with a List and a Detail

Updated about a year ago by Patrick JonesHow-tos1 comment – viewed 7,551 times – ( +4 / -1 ) – 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

Updated about a year ago by Wade ShulerHow-tos0 comments – viewed 5,422 times – ( -1 ) – 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.

Popup AJAX DialogBox without any extension

Updated about a year ago by Maurizio Domba CerinHow-tos4 comments – viewed 20,643 times – ( +8 / -2 ) – version 1.1
In this wiki I explain how to show a default popup dialogbox (like Gii does) using an existing module.

How To : Create Forgot Password in Yii (Sending Email to Reset Password)

Updated about a year ago by ruderbytesHow-tos2 comments – viewed 29,092 times – ( +1 / -1 ) – version 1.1
Assalamualaikum wr.wb Hello yii people i'm Muhammad Fahmi Azain this is tutorial about forgot password in yii framework, and i'm sorry if it does not comply with code standards yii. okay let's begin