Wiki

Articles in category "how-tos", sorted by commentsX
Displaying 151-160 of 314 result(s).

How to handle decimal separators (e.g comma instead of dot) for l18n

Created 2 years ago by jpabloHow-tos2 comments – viewed 11,806 times – ( +2 ) – version 1.1
Yii i18n does not cover decimal format. Some languages like Spanish (I live in Argentina) uses comma ',' instead of dot '.' as decimal separator.

History Autocomplete

Created 2 years ago by zaccariaHow-tos2 comments – viewed 7,229 times – ( +3 ) – version 1.1
In application development we often have to choose how to mange recurrent values.
tags: autocomplete

get summary of related model via STAT relation

Created about a year ago by rootbearHow-tos2 comments – viewed 8,238 times – ( +7 / -1 ) – version 1.1
typical scenario: invoice, invoice items.

CGridView keep focus on the control after filtering

Created 2 years ago by jayalaHow-tos2 comments – viewed 7,720 times – ( +6 ) – version 1.1
You can find the reason why I wrote this article here.
tags: CGridView, filter

custom sql query results to CDetailView

Created about a year ago by KonApazHow-tos2 comments – viewed 14,935 times – ( +3 )
This is a bried guide about displaying of custom sql query results.

How to include Javascript, CSS

Created about a year ago by InterboyHow-tos2 comments – viewed 296,807 times – ( +9 / -2 ) – version 1.1
There are many methods that we can include javascript, css into your Yii App. Today I will demonstrate three simple and helpul methods.

Automatic Parameter Binding to POST vars in Yii2

Created about a year ago by aarondfrancisHow-tos2 comments – viewed 5,735 times – version 2.0
I wrote about this on my blog, but wanted to post it here too.
tags: yii2, controllers

two or more different collected data in one CGridView

Created 11 months ago by KonApazHow-tos2 comments – viewed 5,457 times – ( +3 / -1 ) – version 1.1
Assume that you have teachers and students model.

Create/Develop View files with plain HTML (Without using ActiveForm Class)

Created 10 months ago by kalpitHow-tos2 comments – viewed 6,802 times – ( +2 / -2 ) – version 1.1
Today i want to share with you is "How can we write HTML Code in view files? I am writing this article because many times we can not use CActiveForm to design our form...
tags: views, tutorial

Update a part of content using AJAX when select a GridView row

Created 10 months ago by KonApazHow-tos2 comments – viewed 11,156 times – ( +4 ) – version 1.1
Suppose you want to refresh a form or any content when a single row of CGridView is selected