Wiki

Displaying 651-660 of 732 result(s).

Ajax update

Created 4 years ago by zaccariaTips2 comments – viewed 43,173 times – ( +21 / -2 ) – version 1.1
Often happens to have the need of change a part of the page with ajax.
tags: AJAX

Reading the doc

Created 4 years ago by zaccariaTips0 comments – viewed 6,845 times – ( +21 ) – version 1.1
Almost all the information you need whilst working with yii is written in the Class Reference.
tags: doc

Integrating FirePHP

Created 4 years ago by ricardogranaTutorials5 comments – viewed 11,334 times – ( +8 ) – version 1.1
Install Firebug plugin for Firefox from here.

NetBeans IDE and Yii projects

Created 4 years ago by marcovtwoutTutorials28 comments – viewed 171,980 times – ( +76 ) – version 1.1
This page is created to supply short directions and general tips for managing a Yii application in NetBeans IDE.

How to add an analogue clock widget on your skeleton application

Created 4 years ago by mocapapaTutorials0 comments – viewed 6,645 times – ( +1 ) – version 1.1
Followings are the simple steps to put an analogue clock widget on your skeleton application that is just generated by yiic.

List with multiple checkbox

Created 4 years ago by matkazTutorials3 comments – viewed 26,455 times – ( +4 ) – version 1.1
It is a common case coders often come accross. For example the purpose of these checkbox is to mark records to be deleted

Add information to Yii::app()->user by extending CWebUser (better version)

Created 4 years ago by emixTutorials5 comments – viewed 27,764 times – ( +5 / -1 ) – version 1.1
I found a better solution.
tags: Yii, user, rbac

Using CJuiDialog to display flash Messages in Dialogues

Created 4 years ago by thyseusTutorials2 comments – viewed 18,616 times – ( +11 ) – version 1.1
In order to nicely display flash Messages, create view like this called views/site/dialog.php :

Multiple Databases and Multiple Domains

Created 4 years ago by got 2 doodleTutorials2 comments – viewed 32,569 times – ( +15 / -2 ) – version 1.1
Add these lines in /config/main.php
tags: database

Named scope - Get orphan AR without losing primary key

Created 4 years ago by cmaTutorials0 comments – viewed 5,166 times – version 1.1
Sometime, in a many-to-many relation, you need to retrieve AR that aren't linked. In practice, AR with null value in the join table. So you implements a criteria like this :