Showing 261-280 of 652 items.

Multiple-database support in Yii

Created 15 years ago by Steve Friedl Steve Friedl, updated 14 years ago by phazei phazei. 18 comments

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.

20 0
39
Viewed: 155 854 times
Version: 1.1
Category: How-tos

How to use Multiple instances of the same model in the same form

Created 14 years ago by kiran sharma kiran sharma, updated 14 years ago by Maurizio Domba Cerin Maurizio Domba Cerin. 21 comments

When i had created this functionality then i found some difficulties and not got much idea from wiki and forums. so, i think this will be useful for newbie users and save time of other developers when create related functionality. I refer Collecting Tabular Input tutorial but not got clear idea for create/update...

Custom Archive in Blog system

Created 14 years ago by nirmalroka nirmalroka, updated 14 years ago by nirmalroka nirmalroka. 0 comments

Hi I had made simple archive system for blog system that can handle tbl_post. I had used simple CDbCriteria not more than that. I know there is more and many better way to this but I think this will give some idea to users to generate new idea or customized or modified this version of code.

1 0
2
Viewed: 13 654 times
Version: 1.1
Category: Tips

YouTube API v2.0 – Browser-based Uploading

Created 14 years ago by Vaibhav Vaibhav, updated 14 years ago by Vaibhav Vaibhav. 2 comments

Through the YouTube API you can upload files directly to the Youtube server. Youtube currently offers two services 1. Direct Link 2. Browser Based Uploading. In this wiki I will demonstrate how you can quickly set Browser Based Uploading for your Yii application. This is the protocol request that takes place.

2 0
7
Viewed: 28 745 times
Version: 1.1
Category: How-tos

How to hide index.php on Microsoft Windows Server with IIS7

Created 14 years ago by Giuliano Giuliano, updated 14 years ago by Giuliano Giuliano. 2 comments

I've seen lot of people struggling in finding a way to hide the script name when installing their Yii Application. In an Apache environment everything is well documented in this wiki article, but for those who are running their app on a Windows Server machine there are no hints.

6 0
6
Viewed: 75 020 times
Version: 1.1
Category: How-tos

Using phpseclib with Yii

Created 14 years ago by nkd nkd, updated 14 years ago by nkd nkd. 9 comments

I installed phpseclib because I needed to do some AES encryption in my project. After all the hassle of installing php lib, I found out that Yii already has a security module (securityManager). I finally decided to keep using phpseclib because it has one big advantage over Yii securityManager module, it does...

0 0
6
Viewed: 23 915 times
Version: 1.1
Category: How-tos