Wiki articles in category Tutorials

Showing 101-120 of 265 items.

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

Created 12 years ago by nlac nlac, updated 10 years ago by nlac nlac.

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.

4 1
11 followers
Viewed: 65 756 times
Version: 1.1
Category: Tutorials

Custom Login Error Messages

Created 12 years ago by whoopass whoopass, updated 12 years ago by whoopass whoopass.

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](http://www.yiiframework.com/doc/blog/1.1/en/prototype...

6 0
8 followers
Viewed: 53 855 times
Version: 1.1
Category: Tutorials

Yii for beginners 2

Created 12 years ago by rackycz rackycz, updated 3 years ago by rackycz rackycz.

This is second article with my tutorial. I had to add it, because Wiki article has limited length and as I was extending it's text, older paragraphs were disappearing. So here I am starting from chapter 6.

15 0
21 followers
Viewed: 92 829 times
Version: 1.1
Category: Tutorials

Upload Files to Rackspace Cloud Files CDN

Created 12 years ago by StephenMiracle StephenMiracle, updated 12 years ago by StephenMiracle StephenMiracle.

** I actually made this into an extension for easier use. You can view the extension: http://www.yiiframework.com/extension/rackspaceconnect/

2 0
3 followers
Viewed: 18 524 times
Version: 1.1
Category: Tutorials

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

Created 12 years ago by bhavesh vaghela bhavesh vaghela, updated 12 years ago by Maurizio Domba Cerin Maurizio Domba Cerin.

Create param.php file in protected/config

Yii::app()->params['TEXT_ACTIVE'] = 'Active'; //1 for active

1 4
3 followers
Viewed: 14 906 times
Version: 1.1
Category: Tutorials
Tags:

Upload CSV File

Created 12 years ago by bhavesh vaghela bhavesh vaghela, updated 10 years ago by bhavesh vaghela bhavesh vaghela.

View file

3 0
10 followers
Viewed: 33 577 times
Version: 1.1
Category: Tutorials
Tags:

Creating HTML code using Jamboree Panels

Created 12 years ago by bluyell bluyell, updated 12 years ago by bluyell bluyell.
2 0
2 followers
Viewed: 18 051 times
Version: 1.1
Category: Tutorials

ePay Integration - Bulgarian Payment Provider

Created 12 years ago by yasen yasen, updated 12 years ago by yasen yasen.

} ` V. The Order model would start with:

class Order extends CActiveRecord
{
	const STATUS_INITIATED = 1;
	const STATUS_CANCELED = 2;
	const STATUS_EXPIRED = 3;
	const STATUS_PAID = 4;
	public $statuses = array(
		self::STATUS_INITIATED => 'Initiated',
		self::STATUS_CANCELED => 'Canceled',
		self::STATUS_EXPIRED => 'Expired',
		self::STATUS_PAID => 'Paid',
	);
// more cod...
6 0
5 followers
Viewed: 12 452 times
Version: 1.1
Category: Tutorials

Drills : Search by a HAS_MANY relation in Yii 1.1

Created 12 years ago by softark softark, updated 6 years ago by softark softark.

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.

22 0
27 followers
Viewed: 80 301 times
Version: 1.1
Category: Tutorials

Use crypt() for password storage

Created 12 years ago by fsb fsb, updated 10 years ago by fsb fsb.

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.

15 0
20 followers
Viewed: 182 084 times
Version: 1.1
Category: Tutorials

Installing Yii Users and Rights to Newly Created Yii app

Created 12 years ago by Rajith R Rajith R, updated 11 years ago by Rajith R Rajith R.

After creating an yii app . we need to implement permission, Authentication and Authorization .so the best way is to use the Yii users and Rights modules.

11 1
40 followers
Viewed: 110 625 times
Version: 1.1
Category: Tutorials

How to display static pages in Yii with database content?

Created 12 years ago by yasen yasen, updated 12 years ago by yasen yasen.

To extend further static pages as shown by Qiang http://www.yiiframework.com/wiki/22/how-to-display-static-pages-in-yii/ here're the steps to take:

3 0
13 followers
Viewed: 44 038 times
Version: 1.1
Category: Tutorials

Creating Yii applications with composer

Created 12 years ago by schmunk schmunk, updated 12 years ago by SleepWalker SleepWalker.

When creating web-application projects, you can add a great variety of different extensions, modules, plugins or scripts to your code-base. But maintaining a stable combination and updating certain packages can become a hard task.

27 0
32 followers
Viewed: 118 052 times
Version: 1.1
Category: Tutorials

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

Created 12 years ago by bennouna bennouna, updated 11 years ago by bennouna bennouna.

But in the supposedly small share of webapps that don't ask users to activate their accounts, you can end up with a number of bounce messages and non-accessible active accounts.

1 0
7 followers
Viewed: 20 503 times
Version: 1.1
Category: Tutorials

Ajax form submiting in Yii

Created 12 years ago by sirin k sirin k, updated 8 years ago by Maurizio Domba Cerin Maurizio Domba Cerin.

hi guys, Here I'm going to give you a working example of ajax form submiting in Yii.

4 3
23 followers
Viewed: 171 189 times
Version: 1.1
Category: Tutorials

Displaying, sorting and filtering HasMany & ManyMany relations in CGridView

Created 12 years ago by yJeroen yJeroen, updated 12 years ago by yJeroen yJeroen.

This tutorial gives you multiple options of how to fully implement showing, sorting and filtering related data in gridviews.

Intro

17 0
41 followers
Viewed: 76 496 times
Version: 1.1
Category: Tutorials

CGridView, CListView and CActiveDataProvider

Created 12 years ago by softark softark, updated 12 years ago by softark softark.

CGridView (or CListView) together with CActiveDataProvider is a very powerful combination of the built-in tools of Yii. But how do they work together to accomplish their fantastic functions? And what are you expected to do to use them and to customize their behaviors? This article explains the very basics of them.

26 0
33 followers
Viewed: 147 112 times
Version: 1.1
Category: Tutorials

Facebook DeAuthorize callback URL and its response data.

Created 12 years ago by sirin k sirin k, updated 8 years ago by Maurizio Domba Cerin Maurizio Domba Cerin.

Facebook Deauthorize callback is used to getting notification to the app owner when a user uninstall our app from their fan page or profile.

3 0
6 followers
Viewed: 26 513 times
Version: 1.1
Category: Tutorials
Tags: facebook

Create Yii Project In Cloud9

Created 12 years ago by Ben Ben, updated 12 years ago by Ben Ben.

This tutorial will guide you through the process of creating a yii application using Cloud9. We will use a git workspace to enable version control and also show how to link the Cloud9 workspace to GitHub.

2 0
5 followers
Viewed: 39 913 times
Version: 1.1
Category: Tutorials

CButtonColumn: Use special variable $data for the 'id' in the 'options' of a button

Created 12 years ago by bluezed bluezed, updated 12 years ago by bluezed bluezed.

Inspired by it I extended the CButtonColumn class like this:

5 0
7 followers
Viewed: 44 954 times
Version: 1.1
Category: Tutorials