Wiki

Articles in category "tutorials"X
Displaying 71-80 of 235 result(s).

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

Created about a year ago by nlacTutorials5 comments – viewed 29,718 times – ( +6 / -2 ) – version 1.1
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.

Custom Login Error Messages

Created about a year ago by whoopassTutorials1 comment – viewed 23,767 times – ( +10 ) – version 1.1
The Yii Framework is very powerful and it provides a lot of functionality right from the pre-built webapp. One of the nice things that is already established for you as a developer is the Login authentication. While the default configuration simply sets it up to run against an array of hard coded usernames and passwords, the Yii Blog Tutorial provides a how to in connecting that login authentication method to a database so you can run your logins against the registered users. Talk about sweet deal.

Yii for beginners 2

Created about a year ago by rackyczTutorials2 comments – viewed 37,288 times – ( +29 ) – version 1.1
Hi :-) Is that you again? Welcome !! :-)

Upload Files to Rackspace Cloud Files CDN

Created about a year ago by StephenMiracleTutorials0 comments – viewed 7,569 times – ( +2 ) – version 1.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 about a year ago by bhavesh vaghelaTutorials2 comments – viewed 5,735 times – ( +2 / -4 ) – version 1.1
Create param.php file in protected/config

Upload CSV File

Created about a year ago by bhavesh vaghelaTutorials2 comments – viewed 10,325 times – ( +7 ) – version 1.1
View file

Creating HTML code using Jamboree Panels

Created about a year ago by bluyellTutorials0 comments – viewed 7,421 times – ( +2 / -2 ) – version 1.1

ePay Integration - Bulgarian Payment Provider

Created about a year ago by yasenTutorials2 comments – viewed 5,067 times – ( +8 ) – version 1.1
I. In the view script add the following hidden fields:

Drills : Search by a HAS_MANY relation

Created about a year ago by softarkTutorials12 comments – viewed 27,644 times – ( +29 ) – version 1.1
Sometimes we get lost trying to search by a HAS_MANY relation using CActiveRecord or CActiveDataProvider. This article is a series of drills that try to describe the practical techniques of searching by a HAS_MANY relation.

Use crypt() for password storage

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