Wiki

Displaying 431-440 of 688 result(s).

How to re enable logging during unit testing

Created 2 years ago by AsgarothHow-tos3 comments – viewed 11,105 times – ( +11 ) – 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.

Application-driven database with CDbMigration and an extended CActiveRecord

Created 2 years ago by Tudor IlisoiOthers0 comments – viewed 8,225 times – ( +8 ) – version 1.1
This is an incipient implementation of application-driven database with Yii.
tags: database, model

How to insert a Simple Dialog Box

Created 2 years ago by bluyellHow-tos6 comments – viewed 20,126 times – ( +5 / -2 ) – version 1.1
I build this simple PHP class (DialogBox.php at the bottom of this wiki) to help you in the dialog box usage on Yii applications. The goal is run any Yii actions into this dialog box and return the resulting value to the calling instance.

How to learn Yii?!

Created 2 years ago by yJeroenTutorials9 comments – viewed 62,031 times – ( +19 ) – version 1.1
Here is a step by step To-Do list for Yii beginners. The list is an advice of what tutorials and documentation you can walk through to get a full understanding of the Yii Framework. These can be a help to learn Yii.

Understanding series articles

Created 2 years ago by GOshaTips0 comments – viewed 7,802 times – ( +16 ) – version 1.1
Here are all wiki articles from "Understanding" series by Yii wiki contributors:

Understanding Scenarios

Created 2 years ago by Luke JurgsTutorials11 comments – viewed 75,083 times – ( +27 ) – version 1.1
Scenarios are an extremely useful tool for separating validation tasks on any class you use derived from CModel. In this tutorial we will use CActiveRecord.

File uploads in CForm (Form builder)

Created 2 years ago by Luke JurgsHow-tos2 comments – viewed 33,015 times – ( +12 ) – version 1.1
While there is a reasonable amount of documentation regarding CForm (form builder) and file uploads seperately, there really is not any coverage of both in combination.

Autocomplete in console command

Created 2 years ago by StammTutorials1 comment – viewed 6,982 times – ( +3 ) – version 1.1
Missed of autocomplete in bash console commands yii make me sad.

CGridView: Update/create records in a CJuiDialog

Created 2 years ago by JobloTips11 comments – viewed 36,584 times – ( +14 ) – version 1.1
My article Display the full record in a CJuiDialog uses ajax to view a record in dialog on clicking the 'view-icon'.

CGridView: Display the full record (actionView) in a CJuiDialog

Created 2 years ago by JobloTips7 comments – viewed 34,071 times – ( +15 ) – version 1.1
If you show a model (with a lot of attributes) partially in a CGridView, it can be helpful when the user can take a quick look at the full record with all attributes without displaying the view as a page and afterwards returning back to the gridview.