Wiki

Articles in category "tutorials", sorted by commentsX
Displaying 11-20 of 250 result(s).

CJuiDialog and AjaxSubmitButton

Created 6 years ago by tydeas_drTutorials22 comments – viewed 99,700 times – ( +37 / -2 ) – version 1.1
Hello ppl. Even though i have a small experience with yii I though of writing this to help people which want to do something similar.
tags: AJAX

CGridView, CListView and CActiveDataProvider

Created 3 years ago by softarkTutorials22 comments – viewed 112,300 times – ( +46 ) – version 1.1
CGridView (or CListView) together with CActiveDataProvider is a very powerful combination of the built-in tools of Yii. But how do they work together to accomplish their fantastic functions? And what are you expected to do to use them and to customize their behaviors? This article explains the very basics of them.

Adding search to Yii blog example (using Zend Lucene)

Created 4 years ago by dckurushinTutorials21 comments – viewed 71,598 times – ( +33 / -3 ) – version 1.1
For this tutorial I will add a search to the blog demo. The search would be based on Zend Lucene.

Dynamic parent and child CGridView on single view. Using $.ajax to update child gridview via controller, after row in parent gridview was clicked.

Created 4 years ago by Gerhard LiebenbergTutorials20 comments – viewed 86,356 times – ( +28 / -1 ) – version 1.1
This wiki is a step-by-step example explaining how the controller, model and the view's CGridView work together. It explains simple things - as well as more complex things that you will anyway quickly have to know. So, even if you don't use dynamic gridviews, take a morning off and thoroughly work through this tutorial. It should save you lots of struggling.

Understanding Virtual Attributes and get/set methods

Created 5 years ago by Steve FriedlTutorials20 comments – viewed 133,827 times – ( +79 / -1 ) – version 1.1
When you define or extend a class, you can create class variables and methods in Yii just like you can in any other PHP system:

Working with CGridView in Admin Panel

Created 4 years ago by vibhaJadwaniTutorials18 comments – viewed 76,061 times – ( +43 / -1 ) – version 1.1
This is a tutorial for how to add input text-Field, check-box, buttons in CGridView.

Update content in AJAX with renderPartial

Created 6 years ago by BurzumTutorials17 comments – viewed 245,784 times – ( +60 ) – version 1.1
The easiest way to update content in AJAX is to use the renderPartial method.
tags: AJAX

Simple RBAC

Created 4 years ago by hasanaviTutorials17 comments – viewed 86,202 times – ( +50 / -3 ) – version 1.1
If you need simple Role based access control without the long RBAC process then this article is just for you. Lets jump to the point.

CListView AJAX filtering

Created 5 years ago by DragaTutorials17 comments – viewed 60,789 times – ( +17 ) – version 1.1
This tutorial shows how to filter CListView items by AJAX, and it's compatible with disabled JavaScript users In my case this has been done to filter users list

Theming your Zii Widgets

Created 5 years ago by Luis Lobo BorobiaTutorials16 comments – viewed 50,621 times – ( +20 ) – version 1.1
One aspect of User Interface Design has to do with the coherence of the design and the use of the colors between the different User Interface Components used.