Wiki

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

How to customize the error message of a validation rule

Created 6 years ago by qiangTutorials4 comments – viewed 69,884 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:

Use crypt() for password storage

Created 2 years ago by fsbTutorials16 comments – viewed 69,003 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.

Installing Yii Users and Rights to Newly Created Yii app

Created 2 years ago by Rajith RTutorials25 comments – viewed 67,396 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.

Working with CGridView in Admin Panel

Created 2 years ago by vibhaJadwaniTutorials18 comments – viewed 66,708 times – ( +43 / -1 ) – version 1.1
This is a tutorial for how to add input text-Field, check-box, buttons in CGridView.

Organize directories for applications with front-end and back-end

Created 5 years ago by qiangTutorials10 comments – viewed 66,457 times – ( +28 ) – version 1.1
Large applications are often divided into front-end and back-end (or even more ends) depending on the target user groups. The front-end should be used by common users, while the back-end mainly the administrators or staff members. The two ends usually have dramatically different appearance, even though they may share a lot of code underneath. In this tutorial, we describe a way of organizing directories of the code for both ends.

Installing and configuring the Yii User Management Module under a fresh skeleton application generated by yiic

Created 5 years ago by thyseusTutorials5 comments – viewed 65,753 times – ( +12 / -4 ) – version 1.1
p.s. latest version of this tutorial is always available unter the docs/ folder of the User Management Module.

Using search engine and user friendly URLs

Created 5 years ago by qiangTutorials7 comments – viewed 65,050 times – ( +23 / -1 ) – version 1.1
The Definitive Guide introduces the fundamentals of managing URLs in a Yii application. In this tutorial, we introduce a practical technique that can quickly turn your application into using search-engine-friendly URLs.
tags: SEO, URL

Adding search to Yii blog example (using Zend Lucene)

Created 3 years ago by dckurushinTutorials21 comments – viewed 64,113 times – ( +33 / -3 ) – version 1.1
For this tutorial I will add a search to the blog demo. The search would be based on Zend Lucene.

How to create a breadcrumb widget

Created 6 years ago by knutTutorials4 comments – viewed 61,414 times – ( +13 ) – 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.

Update/delete model with CJuiDialog (works in CGridView)

Created 3 years ago by ifdatticTutorials6 comments – viewed 59,004 times – ( +15 ) – version 1.1
This is based on this article.