Wiki

Articles in category "tutorials", sorted by commentsX
Displaying 91-100 of 234 result(s).

shortcut/usefull access roles methods RBAC

Created 5 months ago by KonApazTutorials5 comments – viewed 1,787 times – ( +1 ) – version 1.1
These are functions that I used very often, may helps you!

A simple way to get Yii client-side form validation run when submitting by ajax

Created about a year ago by nlacTutorials5 comments – viewed 28,503 times – ( +6 / -2 ) – version 1.1
A time ago i've met the issue that Yii doesn't run any client-side form validation when submitting the form by CHtml::ajaxSubmitButton. The small javascript below helps to fix it.

Implementing a WebDAV server using SabreDAV

Created about a year ago by nineinchnickTutorials5 comments – viewed 11,269 times – ( +5 )
This article will show you how to easily implement a WebDAV server in your project using SabreDAV.

YII SaaS Multi Tenant application with single database

Created about a year ago by Rajith RTutorials5 comments – viewed 9,187 times – ( +10 / -10 ) – version 1.1
Lots of people are asking how to solve it with YII,We think its difficult with YII. But its easy to solve . There is no database triggers needed . we can simply sove it by extending a class(say "RActiveRecord") from CActiveRecord .Then extend all our model classes from that class.

How to customize the error message of a validation rule

Created 5 years ago by qiangTutorials4 comments – viewed 60,114 times – ( +17 / -1 ) – version 1.1
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:

How to create a breadcrumb widget

Created 5 years ago by knutTutorials4 comments – viewed 57,316 times – ( +12 ) – version 1.1
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.

Integrating with other frameworks

Created 5 years ago by KJediTutorials4 comments – viewed 15,731 times – ( +5 / -1 ) – version 1.1
When you need to integrate with other frameworks (e.g. Zend Framework), you have to follow these steps:

Tabular Input, Validating and Saving related models

Created about a year ago by Xavier JohnTutorials4 comments – viewed 16,132 times – ( +8 ) – version 1.1
This tutorial shows how to use a model to save and validate related (MANY_MANY) models.

Ajax Login form with validation errors inside jQuery modal dialog

Created about a year ago by praviTutorials4 comments – viewed 23,627 times – ( +6 ) – version 1.1
I would like to share my little experience with Yii to the community in the form of the below small wiki:
tags: ajax login

Simplified meta tags

Created 4 years ago by Y!!Tutorials4 comments – viewed 30,389 times – ( +13 ) – version 1.1
If we want to set meta tags on a per page (controller-action) basis, we may use the clientScript application component.