Sorted by viewsX
Displaying 51-60 of 761 result(s).

How to customize the error message of a validation rule

Created 6 years ago by qiangTutorials4 comments – viewed 79,419 times – ( +18 / -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:

Use crypt() for password storage

Created 3 years ago by fsbTutorials16 comments – viewed 78,408 times – ( +24 ) – version 1.1
Update: This wiki has been rewritten to be in line with Yii 1.1.14. Since many of the detailed complexities are now handled by Yii, the article focuses on how the crypt() built-in function works and why it's important to use it correctly.

Simple RBAC

Created 3 years ago by hasanaviTutorials17 comments – viewed 78,222 times – ( +49 / -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.

Creating a CSS Driven Drop Down Menu using CMenu

Created 4 years ago by blindMoeHow-tos10 comments – viewed 77,788 times – ( +22 / -1 ) – version 1.1
CMenu offers great functionality and the ability to customize just about every aspect of the output. There are many times when I need to create a drop down menu or simply modify the look to make the designers happy. Because this seems to be a common task for me, I figured I would share my code to create a very simple drop down menu that other people could use.

How to learn Yii?!

Created 4 years ago by yJeroenTutorials6 comments – viewed 76,083 times – ( +25 ) – version all
Here is a step by step To-Do list for Yii beginners. The list is an advice of what tutorials and documentation you can walk through to get a full understanding of the Yii Framework. These can be a help to learn Yii.

Installing Yii Users and Rights to Newly Created Yii app

Created 3 years ago by Rajith RTutorials25 comments – viewed 74,809 times – ( +23 / -10 ) – version 1.1
After creating an yii app . we need to implement permission, Authentication and Authorization .so the best way is to use the Yii users and Rights modules.

How to setup yiic on WAMP (XP/Vista)

Created 6 years ago by krillzipTutorials3 comments – viewed 74,293 times – ( +3 ) – version 1.1
This page assumes that you have installed Wampserver on your MS Windows computer.

Date Picker by examples

Created 2 years ago by InterboyHow-tos6 comments – viewed 72,646 times – ( +10 / -2 ) – version 1.1
CJuiDatePicker displays a datepicker. CJuiDatePicker encapsulates the JUI datepicker plugin.

Guidelines for good schema design

Created 4 years ago by Steve FriedlTips15 comments – viewed 72,400 times – ( +143 ) – version 1.1
Virtually all Yii applications are built on top of a database, and though Yii is very flexible in how it addresses your DB, some design choices make things more convenient than others.

Configuring controller access rules to default-deny

Created 4 years ago by Steve FriedlHow-tos3 comments – viewed 71,887 times – ( +12 ) – version 1.1
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.