Wiki

Articles in category "how-tos", sorted by date (updated)X
Displaying 1-10 of 352 result(s).

i18n All-in-one format and timezone conversions for date, time, timestamp and datetime.

Updated 9 days ago by Gerhard LiebenbergHow-tos3 comments – viewed 18,604 times – ( +8 / -1 ) – version 1.1
Countries sometimes change their laws pertaining to time zones and daylight saving times. This means that GMT+2 can be a different time this August compared to last August! However, by using php's DateTime class (instead of timestamps), we can do both "format" and "time zone" conversions on a single DateTime object (only 2 lines of code) for date, time, timestamp and datetime types - while php takes care of nightmares such as current and historical time zones and daylight saving times.

How to install Yii 2 advanced on a shared hosting environment

Updated 19 days ago by oligalmaHow-tos1 comment – viewed 8,532 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.

A Single Page with a List and a Detail

Updated 19 days ago by Patrick JonesHow-tos1 comment – viewed 2,119 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

Updated 24 days ago by Wade ShulerHow-tos0 comments – viewed 1,505 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 2 months ago by Maurizio Domba CerinHow-tos4 comments – viewed 18,406 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 2 months ago by ruderbytesHow-tos2 comments – viewed 22,130 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 2 months ago by Gerhard LiebenbergHow-tos2 comments – viewed 47,439 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 3 months ago by junaidatariHow-tos0 comments – viewed 5,576 times – ( +1 ) – version 2.0
Yii2cdn
tags: yii2, cdn, assets

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

Updated 3 months ago by VINAY Kr. SHARMAHow-tos6 comments – viewed 22,271 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 4 months ago by marciocamelloHow-tos0 comments – viewed 4,738 times – version 2.0
https://github.com/marciocamello/yii2-app-advanced-sh