Wiki

Sorted by commentsX
Displaying 41-50 of 738 result(s).

Uploading multiple images with CMultiFileUpload

Created 3 years ago by rsinghHow-tos16 comments – viewed 82,648 times – ( +38 ) – version 1.1
"The documentation for CMultiFileUpload isn't clear!"

Url: hide index.php

Created 3 years ago by HermansHow-tos16 comments – viewed 116,799 times – ( +27 / -1 ) – version 1.1
Maybe it looks simple, but some time ago I need some time to find a solution of this case. I finally got it, and I want to share that I also experienced such cases. So that it can make reference.

Understanding the view rendering flow

Created 3 years ago by dckurushinFAQs16 comments – viewed 151,351 times – ( +92 / -3 ) – version 1.1
There is a lot of confusion surrounding what is happening behind the scenes when you render a view.

Serve jQuery and jQuery-UI from Google's CDN

Created 3 years ago by YetiTutorials15 comments – viewed 23,628 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 618,838 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 202,846 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 40,119 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.

Multiple-database support in Yii

Created 4 years ago by Steve FriedlHow-tos15 comments – viewed 75,630 times – ( +28 ) – version 1.1
The customary configuration of a Yii application includes just a single database section in the protected/config/main.php file, but it's easy to extend this to support more than one, tying each Model to one of the databases.
tags: Database

Getting to Understand Hierarchical RBAC Scheme

Created 4 years ago by daemonsTutorials15 comments – viewed 78,949 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.

How to use YiiBooster TbFileUpload widget

Created 2 years ago by Antonio RamirezHow-tos15 comments – viewed 35,247 times – ( +11 ) – version 1.1
The following wiki is to explain how to make use of the TbFileUpload widget from YiiBooster. I have received a couple of requests and I thought was worth writing a wiki for it.