Wiki

Articles in category "how-tos", sorted by ratingX
Displaying 201-210 of 309 result(s).

Yii HMVC

Created about a year ago by ezekielnoobHow-tos6 comments – viewed 6,987 times – ( +5 / -1 )
Right now we can use widgets + action provider like in this tutorial: How to use a Widget as an Action Provider

Remove Byte Order Mark (BOM) from files recursively

Created 11 months ago by KonApazHow-tos3 comments – viewed 5,245 times – ( +5 / -1 ) – version all
Ok, this wiki is not only for yii projects.

Caching strategy

Created 10 months ago by darkheirHow-tos9 comments – viewed 3,839 times – ( +5 / -1 ) – version 1.1
Note: Before reading this wiki you should have read the caching part in the Yii guide
tags: caching, filter

Install, update and use Yii with WAMP server

Created about a year ago by mrsHow-tos5 comments – viewed 27,851 times – ( +5 / -1 ) – version 1.1
Here I am describing how you can install and update Yii in WAMP sever.

Twitter Bootstrap style Breadcrumbs

Created about a year ago by junaidatariHow-tos0 comments – viewed 12,745 times – ( +5 / -1 ) – version 1.1
1: Create breadcrumb in your view file.

A simple go back button widget

Created about a year ago by CTalaHow-tos7 comments – viewed 14,434 times – ( +8 / -3 ) – version 1.1
We all know that widgets are really useful. We can use the almost everywhere we want, and we can use the same code a lot of times ( Almost OOP ).

Get 'source' data from the database - for TbEditableColumn or EditableColumn ('type'=>'select' / dropdownlist)

Created about a year ago by Gerhard LiebenbergHow-tos0 comments – viewed 9,787 times – ( +4 / -1 ) – version 1.1
If you want to edit data directly in the gridview in a 'dropdownlist' style, then you could use the 'type' => 'select' option of TbEditableColumn (YiiBooster) or EditableColumn (x-editable for Yii). This wiki shows how to get data from the db for the 'dropdownlist', by converting AR model data into an array that is passed in json format.

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

Created 10 months ago by Gerhard LiebenbergHow-tos1 comment – viewed 22,135 times – ( +4 / -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.

simple CSV export

Created about a year ago by bluyellHow-tos5 comments – viewed 13,849 times – ( +4 / -1 ) – version 1.1
tags: csv, excel, export

Cheat Sheet: Displaying Name instead of Numbers and Displaying Alphanumeric instead of numeric values

Created about a year ago by skwordenHow-tos4 comments – viewed 12,697 times – ( +4 / -1 ) – version 1.1
I keep a reference to some simple but painful task if you forget a common or something. I am new to Yii and this took awhile for me to figure out. Everything I read said do this or do that and not a single one worked for me. However, the following did.