Wiki

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

Serve jQuery and jQuery-UI from Google's CDN

Created 3 years ago by YetiTutorials15 comments – viewed 24,238 times – ( +14 / -1 ) – version 1.1
There are good reasons to use Google's Content Delivery Network (CDN) to serve jQuery and jQuery UI on your site:

By Example: CHtml

Created 5 years ago by jonahTutorials15 comments – viewed 644,370 times – ( +113 / -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.

Update content in AJAX with renderPartial

Created 5 years ago by BurzumTutorials15 comments – viewed 209,546 times – ( +59 ) – version 1.1
The easiest way to update content in AJAX is to use the renderPartial method.
tags: AJAX

How to use ldap in UserIdentity for authentication

Created 5 years ago by BeerSercTutorials15 comments – viewed 41,507 times – ( +14 ) – version 1.1
Yii does not have an LDAP class itself, but its very easy to implement LDAP in the stock UserIdentity class.

Getting to Understand Hierarchical RBAC Scheme

Created 4 years ago by daemonsTutorials15 comments – viewed 80,833 times – ( +62 ) – version 1.1
Authentication and Authorization is a good tutorial. Among other topics, it describes basic aspects of Yii's RBAC implementation. But however hard I read the tutorial, I couldn't understand how exactly the hierarchy works. I found how to define authorization hierarchy, how business rules are evaluated, how to configure authManager, but almost nothing about how I should build my hierarchy, in what sequence its nodes are checked, when the checking process stops and what would be the checking result.

Drills : Search by a HAS_MANY relation in Yii 1.1

Created 2 years ago by softarkTutorials13 comments – viewed 33,562 times – ( +32 ) – version 1.1
Sometimes we get lost trying to search by a HAS_MANY relation using CActiveRecord or CActiveDataProvider in Yii 1.1. This article is a series of drills that try to describe the practical techniques of searching by a HAS_MANY relation.

Yii for beginners

Created 3 years ago by rackyczTutorials13 comments – viewed 243,286 times – ( +97 ) – 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.

How to work with flash messages

Created 6 years ago by pfthTutorials12 comments – viewed 192,473 times – ( +59 ) – version 1.1
Set your messages in a controller:

Setting and maintaining the language in Application (i18n)

Created 6 years ago by olafureTutorials12 comments – viewed 87,002 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

Implementing a User Level Access System

Created 4 years ago by Antonio RamirezTutorials12 comments – viewed 46,655 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.