Wiki

Sorted by commentsX
Displaying 311-320 of 786 result(s).

Add model validator in Controller

Created 3 years ago by Kostas Apazidis (KonApaz)Tips4 comments – viewed 17,718 times – ( +1 / -2 ) – version 1.1
There are cases that model validators should be depended by controller/action and you couldn't manipulate on the model class or using scenarios in easy way

How to setup yiic on WAMP (XP/Vista)

Created 8 years ago by krillzipTutorials3 comments – viewed 80,047 times – ( +3 / -1 ) – version 1.1
This page assumes that you have installed Wampserver on your MS Windows computer.

How to keep filters simple in CGridView

Created 2 years ago by PeppeHow-tos3 comments – viewed 6,689 times – ( +1 / -1 ) – version 1.1
The problem is not new: after setting some filters in a grid (typically in admin view), and gone to another page, returning in the grid's page I would like to find the filters with previous setting mantained.

How to hide index.php on nginx

Created 8 years ago by milesTutorials3 comments – viewed 60,667 times – ( +4 / -1 ) – version 1.1
For a complete sample Nginx+PHP-FPM config, view this how-to: Nginx & PHP-FPM
tags: URL

How to re enable logging during unit testing

Created 6 years ago by AsgarothHow-tos3 comments – viewed 16,554 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.

Debuging variables in Yii2

Created 2 years ago by johonunuTips3 comments – viewed 15,372 times – ( +2 / -2 ) – version 2.0
This tutorial is explained following "basic" application structure.

How to create/save more Model inputs and make them repeatable with jQuery

Created 8 years ago by qiangTutorials3 comments – viewed 40,847 times – ( +12 / -1 ) – version 1.1
This is the first real problem that I encountered using Yii, trying to make a Model input repeatable in the form, validate and save them.

Active Record snapshotting (Model data base history)

Created 2 years ago by BizleyTutorials3 comments – viewed 7,901 times – ( +2 / -1 ) – version 1.1
One of the common tasks the web application might be required to perform, especially the app using some kind of a CMS, is to save the history of data changes. Your client for sure will want the answer to this simple question - If I mess this up or delete by accident can we bring it back? Well, DB backup is one thing and quick recovery is another - let's talk about latter one.

The Comedy of Errors

Created 5 years ago by fsbOthers3 comments – viewed 10,365 times – ( +21 / -1 ) – version 1.1
Please join the party by adding your own favorite Yii programming errors. Be sure to leave at least a hint at the correction.

Use kartik Growl with Yii2 flash messages

Created 2 years ago by skwordenHow-tos3 comments – viewed 28,867 times – ( +8 / -1 ) – version 2.0
This is to show you how to use Yii2 flash messages with Kartik Growl (bootstrap notify wrapper).