Wiki

Articles in category "tutorials", sorted by commentsX
Displaying 21-30 of 203 result(s).

Update content in AJAX with renderPartial

Created 4 years ago by BurzumTutorials15 comments – viewed 150,695 times – ( +57 ) – version 1.1
The easiest way to update content in AJAX is to use the renderPartial method.
tags: AJAX

Simple RBAC

Created about a year ago by hasanaviTutorials15 comments – viewed 55,948 times – ( +42 / -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.

How to use ldap in UserIdentity for authentication

Created 4 years ago by BeerSercTutorials14 comments – viewed 31,843 times – ( +11 ) – version 1.1
Yii does not have an LDAP class itself, but its very easy to implement LDAP in the stock UserIdentity class.

By Example: CHtml

Created 4 years ago by jonahTutorials13 comments – viewed 433,684 times – ( +98 / -1 ) – version 1.1
"By Example" cookbook pages will provide coding examples for many of the commonly used classes within Yii. We will try to provide as many usage examples as possible for keep these pages as helpful as possible.

Yii for beginners

Created 2 years ago by rackyczTutorials13 comments – viewed 186,960 times – ( +91 ) – version 1.1
Hi. This is first article with my Yii tutorial. I had to split it into more articles as there's limited length of texts on Wiki. So once you understand basics, you can read next article here: Yii for beginners 2.

Use crypt() for password storage

Created about a year ago by fsbTutorials12 comments – viewed 45,272 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.

Implementing a User Level Access System

Created 2 years ago by Antonio RamirezTutorials12 comments – viewed 37,147 times – ( +28 / -1 ) – version 1.1
I would like to provide you a quick tip on how to implement user level access to your Yii applications.

Understanding Scenarios

Created 2 years ago by Luke JurgsTutorials11 comments – viewed 64,857 times – ( +25 ) – version 1.1
Scenarios are an extremely useful tool for separating validation tasks on any class you use derived from CModel. In this tutorial we will use CActiveRecord.

Setting and maintaining the language in Application (i18n)

Created 5 years ago by olafureTutorials11 comments – viewed 68,071 times – ( +23 ) – version 1.1
As seen in this post, Yii doesn't enforce how language is set and maintained within the session.
tags: i18n, translation

Filter & Sort by calculated/related fields in GridView Yii 2.0

Created 2 months ago by Kartik VTutorials11 comments – viewed 4,952 times – ( +6 ) – version 2.0
This wiki explains how to add calculated fields into your Yii Framework 2.0 gridview with filtering and sorting.