Wiki

Articles in category "tutorials", sorted by viewsX
Displaying 161-170 of 172 result(s).

Widget Personalizado

Created about a year ago by CálcioTutorials0 comments – viewed 4,012 times – ( +5 )
Nesse wiki vou tentar exemplificar de forma mais clara e objetiva o uso de widget com o CDataProvider.

Upload CSV File

Created 4 months ago by bhavesh vaghelaTutorials0 comments – viewed 4,011 times – ( +3 )
View file

Named scope - Get orphan AR without losing primary key

Created 2 years ago by cmaTutorials0 comments – viewed 3,875 times
Sometime, in a many-to-many relation, you need to retrieve AR that aren't linked. In practice, AR with null value in the join table. So you implements a criteria like this :

A simple way to get Yii client-side form validation run when submitting by ajax

Created 2 months ago by nlacTutorials0 comments – viewed 3,624 times – ( +4 )
A time ago i've met the issue that Yii doesn't run any client-side form validation when submitting the form by CHtml::ajaxSubmitButton. The small javascript below helps to fix it.

Facebook DeAuthorize callback URL and its response data.

Created 8 months ago by sirin kTutorials1 comment – viewed 3,298 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

Catching bounce messages (NDR) and piping them to a Yii command

Created 8 months ago by bennounaTutorials0 comments – viewed 3,211 times – ( +1 )
In order to avoid bounce messages and unsolicited registrations, most webapps send automatic activation emails upon user registration, and the account remain inactive as long as it is not activated. Better yet, you can periodically purge your data by removing accounts that have not yet been activated.

ePay Integration - Bulgarian Payment Provider

Created 4 months ago by yasenTutorials2 comments – viewed 2,947 times – ( +6 )
I. In the view script add the following hidden fields:

Upload Files to Rackspace Cloud Files CDN

Created 3 months ago by StephenMiracleTutorials0 comments – viewed 2,789 times – ( +1 )
** I actually made this into an extension for easier use. You can view the extension: http://www.yiiframework.com/extension/rackspaceconnect/

Define general array and variable and call it to anywhere in application

Created 4 months ago by bhavesh vaghelaTutorials2 comments – viewed 2,646 times – ( +2 / -4 )
Create param.php file in protected/config

Disable login page if user is logged in

Created 15 days ago by freezingbananaTutorials1 comment – viewed 2,576 times – ( +3 / -11 )
This is a very simple tutorial that demonstrates how to redirect user back to the returnUrl if he is already logged in.