Wiki

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

A Single Page with a List and a Detail

Updated 8 months ago by Patrick JonesHow-tos1 comment – viewed 6,630 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

Updated 8 months ago by Wade ShulerHow-tos0 comments – viewed 4,556 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.

Popup AJAX DialogBox without any extension

Updated 10 months ago by Maurizio Domba CerinHow-tos4 comments – viewed 19,969 times – ( +8 / -1 ) – 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 10 months ago by ruderbytesHow-tos2 comments – viewed 26,979 times – 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

Sort and filter a custom or composite CGridView column - that may even contain data from different tables.

Updated 10 months ago by Gerhard LiebenbergHow-tos2 comments – viewed 51,463 times – ( +6 / -1 ) – version 1.1
I have a table (account) which contains "General Ledger" accounts. Each account has its own account_description - such as 'inventory', 'sales', etc.

Yii2cdn Component

Updated 11 months ago by junaidatariHow-tos0 comments – viewed 9,122 times – ( +1 ) – version 2.0
Yii2cdn
tags: yii2, cdn, assets

How to avoid rendering entire page on AJAX call for CGridView and CListView

Updated 11 months ago by VINAY Kr. SHARMAHow-tos6 comments – viewed 23,823 times – ( +5 ) – version 1.1
CGridView and CListView are great widget to populate records and also provides features like ajax update, column sort, search, drop-down filter, ajax content load and many more...

Yii 2 Advanced Project Template using Shared Hosting

Updated about a year ago by marciocamelloHow-tos0 comments – viewed 6,012 times – version 2.0
https://github.com/marciocamello/yii2-app-advanced-sh

How to send POST data from CActiveForm with a CListView inside

Updated about a year ago by oligalmaHow-tos0 comments – viewed 6,404 times – ( +1 ) – version 1.1
If you want to see a live demonstration of what I mean by "how to send POST data from CActiveForm with a CListView inside" you can take a quiz from here and you will understand.

How to have truly multilingual URLs

Updated about a year ago by oligalmaHow-tos1 comment – viewed 4,616 times – version 1.1
We can easily have a multilingual site if we put a "lang" parameter that comes via GET. For example: