Wiki

Sorted by viewsX
Displaying 61-70 of 482 result(s).

Update/delete model with CJuiDialog (works in CGridView)

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

Yii Related Sites

Created 2 years ago by jacmoeOthers1 comment – viewed 32,186 times – ( +31 )
This is a list of blogs, off-site tutorials and other resources about Yii.

How to create a breadcrumb widget

Created 4 years ago by knutTutorials4 comments – viewed 32,149 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.

Updating fields on a form with Ajax and Json

Created 2 years ago by Russell EnglandHow-tos4 comments – viewed 31,972 times – ( +12 / -1 )
I'm developing a website that has an option to look up a car's registration number via SOAP and return additional details such as make, model, colour etc.

Local time zones and locales

Created 2 years ago by Russell EnglandHow-tos9 comments – viewed 31,864 times – ( +12 / -2 )
Following on from international dates, I also wanted times in the local timezone and format. This was a little more tricky but I think I've got a solution. This is only really appropriate if you have an international app.

How to customize the error message of a validation rule

Created 4 years ago by qiangTutorials3 comments – viewed 31,563 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:

Configuring controller access rules to default-deny

Created 2 years ago by Steve FriedlHow-tos1 comment – viewed 31,385 times – ( +10 )
Starting with the blog tutorial, Yii developers are familiar with the notion of access rules defined in the controller, where the actions are allowed or denied depending on the user's name or role.

Working with CGridView in Admin Panel

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

Setting and getting systemwide static parameters

Created 2 years ago by Steve FriedlHow-tos2 comments – viewed 31,123 times – ( +10 )
Occasionally one wishes to set systemwide parameters for an application, such as a contact address for email, an application name, or setting an option that guides major behavior. Yii provides for setting of static parameters in the configuration file, and this article talks about how to do it conveniently.
tags: config

Implementing cron jobs with Yii

Created 2 years ago by samdarkHow-tos4 comments – viewed 30,511 times – ( +26 / -1 )
There are two ways to run a cron job:
tags: cron, cli