Wiki

Sorted by viewsX
Displaying 461-470 of 786 result(s).

Changing Controllers Name

Created 6 years ago by TrejderHow-tos0 comments – viewed 16,874 times – ( +5 / -1 ) – version 1.1
This very short how-to presents steps required to change controller name. It is oriented for less experienced users, which are starting their journey with Yii, to avoid common newbie pitfalls.

Update CGridview row separately using ajax request

Created 3 years ago by Kostas Apazidis (KonApaz)How-tos10 comments – viewed 16,701 times – ( +8 / -1 ) – version 1.1
There are cases you want to update a record on CGridview directly

How to re enable logging during unit testing

Created 6 years ago by AsgarothHow-tos3 comments – viewed 16,552 times – ( +11 / -1 ) – version 1.1
Some of you have experienced the need to log some information while doing unit testing, due to the fact that the information given in the summary is just not enough, to know why the test is actually failing. this article focuses on 2 ways to get you logs up and running again.

Auto TDD - How to auto-run PHPUnit

Created 6 years ago by imeheszTips3 comments – viewed 16,425 times – ( +3 / -2 ) – version 1.1
If you are lucky enough and have the privilege to develop on a Linux based environment, this little tip might boost-up your TDD process (at least the Unit Testing part). Please note, that this should work just fine with Apple computers also, but not tested!
tags: PHPUnit, testing, TDD

Key web server settings after installing a fresh Yii 2 basic or advanced app

Created 3 years ago by Kartik VTips2 comments – viewed 16,372 times – ( +48 / -1 ) – version 2.0
So, you have installed a brand new Yii 2 app (basic) or (advanced). Here are a few tips for Apache web server users to get things running more secure and better with your yii2 app.

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

Created 5 years ago by jpabloHow-tos2 comments – viewed 16,371 times – ( +2 / -1 ) – 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.

Visualization tree-multi subcategories as listbox or dropdownlist

Created 4 years ago by Kostas Apazidis (KonApaz)How-tos4 comments – viewed 16,218 times – ( +4 / -1 ) – version 1.1
Do you want to make a listbox or dropdownlist to select one or more categories or sub categories ?

A simple action for XUpload extension

Created 6 years ago by tydeas_drTips1 comment – viewed 16,192 times – ( +3 / -1 ) – version 1.1
All the basic functionality for an action used by the xupload extension. Check resources for the source code of this action
tags: tips, xupload, caction

How to install Yii 2 advanced on a shared hosting environment

Created 2 years ago by oligalmaHow-tos1 comment – viewed 16,187 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.