Wiki

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

Use crypt() for password storage

Created about a year ago by fsbTutorials16 comments – viewed 60,975 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.

Uploading multiple images with CMultiFileUpload

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

Url: hide index.php

Created 3 years ago by HermansHow-tos16 comments – viewed 104,245 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.

Serve jQuery and jQuery-UI from Google's CDN

Created 3 years ago by YetiTutorials15 comments – viewed 22,184 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 559,424 times – ( +107 / -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 187,425 times – ( +58 ) – 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 4 years ago by BeerSercTutorials15 comments – viewed 37,426 times – ( +12 ) – 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 3 years ago by Steve FriedlHow-tos15 comments – viewed 69,730 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

How to use YiiBooster TbFileUpload widget

Created about a year ago by Antonio RamirezHow-tos15 comments – viewed 32,195 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.

Guidelines for good schema design

Created 3 years ago by Steve FriedlTips15 comments – viewed 59,472 times – ( +141 ) – 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.