Wiki

Sorted by date (updated)X
Displaying 161-170 of 470 result(s).

Displaying, sorting and filtering HasMany & ManyMany relations in CGridView

Updated 8 months ago by yJeroenTutorials8 comments – viewed 16,480 times – ( +11 )
This tutorial gives you multiple options of how to fully implement showing, sorting and filtering related data in gridviews.

Creating and updating model and its related models in one form, inc. image

Updated 8 months ago by BoazHow-tos8 comments – viewed 14,420 times – ( +5 / -2 )
We start slowly and simple...

Beginner / Intro Tutorials (please add to / update this list)

Updated 8 months ago by Gerhard LiebenbergTutorials0 comments – viewed 29,016 times – ( +4 )
This is a central location to collect links to "Getting Started" documentation beyond the blog demo and Creating First Yii Application. Please help the community by adding general, introductory links and descriptions to this page.

Setting up PHPUnit and Selenium with IntelliJ IDEA/PhpStorm

Updated 8 months ago by rAWTAZHow-tos0 comments – viewed 9,165 times – ( +5 )
This article intends to summarize the steps taken to set up PHPUnit and Selenium for a Yii project, with IntelliJ IDEA Ultimate (the IDE). It was done on Mac OS X 10.6.

mysql performance tip

Updated 8 months ago by sirin kTips6 comments – viewed 4,737 times – ( +2 / -1 )
When we are doing an insert of huge no.of rows into an SQL table ,Normally we will try to write separate insert quries this may lead us to a long duration of execution time and we can increase the speed of executing SQL quries by adding all the rows into a single insert query.
tags: mysql

Facebook DeAuthorize callback URL and its response data.

Updated 8 months ago by sirin kTutorials1 comment – viewed 3,315 times – ( +3 )
Facebook Deauthorize callback is used to getting notification to the app owner when a user uninstall our app from their fan page or profile.
tags: facebook

An important tip when you are using CArrayDataProvider.

Updated 8 months ago by sirin kTips0 comments – viewed 3,685 times – ( +5 / -1 )
Yii ‘s CArrayDataProvider is very helpful to display model relation data's directly on it.But it is truely a confusing one because by default it will assume a table field named “id” as primary key for its pagination purpose and what if you dont have field named “id” as primary key on your table? so its truely confusing and if you tried to display without an “id” field on ur table you will get an error like “yourmodel.id is not defined”.

Solution for session lose of Facebook iframe application in Internet Explorer .

Updated 8 months ago by sirin kTips0 comments – viewed 2,865 times – ( +2 )
Facebook iframe app’s session is losing in Internet Explorer when doing a second redirection inside the facebook iframe app.The main reason is ,by default IE wont allow cookies in its priavacy settings If cookies not available means session is also not available for our Facebook iframe app in IE.

Get notified about the status of a Facebook user in your web app using periodic Ajax calls.

Updated 8 months ago by sirin kTips0 comments – viewed 2,734 times – ( +4 )
hello, This article is helpful only if you have the following situation: A web app which uses facebook login to login its users and if a user is logged out from his/her facebook account through another browser tab, then your app dont know that he is logged out out or not from his facebook account and he/she will remain as logged in your web application.Its ok if you have no problem with this situation.But if you want to forcefully logout the user from your application if he is logged out from his facebook account means you can try this example.This example uses periodic ajax calls to facebook's graph api to check whether the user is logged in or not.
tags: facebook, user

YouTube API v2.0 – Browser-based Uploading

Updated 8 months ago by VaibhavHow-tos1 comment – viewed 4,814 times – ( +5 )
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.