Wiki

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

How To Customize CMenu Output

Created 2 years ago by AngeloTutorials5 comments – viewed 34,493 times – ( +9 )
CMenu comes with a lot of great customization options built in but sometimes you need it to do more.
tags: menu

Simple RBAC

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

Module based login

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

Using CAutoComplete to display one value and submit another

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

Update/delete model with CJuiDialog (works in CGridView)

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

How to create a breadcrumb widget

Created 4 years ago by knutTutorials4 comments – viewed 32,070 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 31,468 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 11 months ago by vibhaJadwaniTutorials11 comments – viewed 31,126 times – ( +30 / -1 )
This is a tutorial for how to add input text-Field, check-box, buttons in CGridView.

Ajax form submiting in Yii

Created 9 months ago by sirin kTutorials6 comments – viewed 29,824 times – ( +6 / -3 )
hi guys, Here I'm going to give you a working example of ajax form submiting in Yii.