Wiki

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

Use crypt() for password storage

Created 2 years ago by fsbTutorials16 comments – viewed 64,552 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 80,234 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 110,994 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,984 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 591,385 times – ( +110 / -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 195,903 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 38,825 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 72,801 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 2 years ago by Antonio RamirezHow-tos15 comments – viewed 33,863 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 61,727 times – ( +142 ) – 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.