Wiki

Articles in category "tutorials", sorted by viewsX
Displaying 31-40 of 172 result(s).

Using CAutoComplete to display one value and submit another

Created 4 years ago by luoshibenTutorials5 comments – viewed 32,942 times – ( +7 / -3 )
Note: CAutoComplete is deprecated since Yii 1.1.3. Consider using CJuiAutoComplete.

Module based login

Created 2 years ago by suriyansureshTutorials6 comments – viewed 32,629 times – ( +14 )
If you want to add module based login to a site without using RBAC, please follow these guidelines.

CGridView, CListView and CActiveDataProvider

Created 8 months ago by softarkTutorials11 comments – viewed 32,292 times – ( +28 )
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.

Simple RBAC

Created about a year ago by hasanaviTutorials11 comments – viewed 32,213 times – ( +32 / -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.

Update/delete model with CJuiDialog (works in CGridView)

Created about a year ago by ifdatticTutorials6 comments – viewed 31,254 times – ( +14 )
This is based on this article.

How to create a breadcrumb widget

Created 4 years ago by knutTutorials4 comments – viewed 30,838 times – ( +10 )
Here's a simple way to create a breadcrumb widget to be used in your templates. The idea is just to isolate how the breadcrumb is generated based on an array of crumbs.

How to customize the error message of a validation rule

Created 4 years ago by qiangTutorials3 comments – viewed 29,948 times – ( +12 )
Validators extending from CValidator all have a property named message. You can set this property in the corresponding validation rule to customize the error message. For example, the following validation rule uses an error message that is different from the default one:

Working with CGridView in Admin Panel

Created 10 months ago by vibhaJadwaniTutorials11 comments – viewed 29,271 times – ( +29 / -1 )
This is a tutorial for how to add input text-Field, check-box, buttons in CGridView.

Beginner / Intro Tutorials (please add to / update this list)

Created 3 years ago by Ivo RoperTutorials0 comments – viewed 29,011 times – ( +4 )
This is a central location to collect links to "Getting Started" documentation beyond the blog demo and Creating First Yii Application. Please help the community by adding general, introductory links and descriptions to this page.