Wiki

Articles in category "tutorials"X
Displaying 91-100 of 255 result(s).

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

Created 4 years ago by nlacTutorials5 comments – viewed 49,659 times – ( +8 / -3 ) – 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 4 years ago by whoopassTutorials1 comment – viewed 38,929 times – ( +11 / -1 ) – 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 4 years ago by rackyczTutorials2 comments – viewed 55,879 times – ( +32 / -1 ) – version 1.1
Hi :-) Is that you again? Welcome !! :-)

Upload Files to Rackspace Cloud Files CDN

Created 4 years ago by StephenMiracleTutorials0 comments – viewed 12,407 times – ( +2 / -1 ) – 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 4 years ago by bhavesh vaghelaTutorials2 comments – viewed 9,138 times – ( +2 / -5 ) – version 1.1
Create param.php file in protected/config

Upload CSV File

Created 4 years ago by bhavesh vaghelaTutorials2 comments – viewed 18,133 times – ( +8 / -1 ) – version 1.1
View file

Creating HTML code using Jamboree Panels

Created 4 years ago by bluyellTutorials0 comments – viewed 10,303 times – ( +2 / -3 ) – version 1.1

ePay Integration - Bulgarian Payment Provider

Created 4 years ago by yasenTutorials2 comments – viewed 7,761 times – ( +8 / -1 ) – version 1.1
I. In the view script add the following hidden fields:

Drills : Search by a HAS_MANY relation in Yii 1.1

Created 4 years ago by softarkTutorials13 comments – viewed 50,234 times – ( +34 / -1 ) – version 1.1
Sometimes we get lost trying to search by a HAS_MANY relation using CActiveRecord or CActiveDataProvider in Yii 1.1. 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 4 years ago by fsbTutorials16 comments – viewed 98,578 times – ( +24 / -1 ) – 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.