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 11 years ago by nlac, updated 10 years ago by 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: 63 872 times
Version: 1.1
Category: Tutorials

Custom Login Error Messages

Created 11 years ago by whoopass, updated 11 years ago by 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: 52 347 times
Version: 1.1
Category: Tutorials

Yii for beginners 2

Created 11 years ago by rackycz, updated 2 years ago by 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: 88 018 times
Version: 1.1
Category: Tutorials

Upload Files to Rackspace Cloud Files CDN

Created 11 years ago by StephenMiracle, updated 11 years ago by 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: 17 796 times
Version: 1.1
Category: Tutorials

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

Created 11 years ago by bhavesh vaghela, updated 11 years ago by 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 433 times
Version: 1.1
Category: Tutorials
Tags:

Upload CSV File

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

View file

3 0
10 followers
Viewed: 32 659 times
Version: 1.1
Category: Tutorials
Tags:

Creating HTML code using Jamboree Panels

Created 11 years ago by bluyell, updated 11 years ago by bluyell.
2 0
2 followers
Viewed: 17 238 times
Version: 1.1
Category: Tutorials

ePay Integration - Bulgarian Payment Provider

Created 11 years ago by yasen, updated 11 years ago by 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: 11 875 times
Version: 1.1
Category: Tutorials

Drills : Search by a HAS_MANY relation in Yii 1.1

Created 11 years ago by softark, updated 6 years ago by 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: 77 939 times
Version: 1.1
Category: Tutorials

Use crypt() for password storage

Created 11 years ago by fsb, updated 10 years ago by 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: 179 393 times
Version: 1.1
Category: Tutorials

Installing Yii Users and Rights to Newly Created Yii app

Created 11 years ago by Rajith R, updated 10 years ago by 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: 108 952 times
Version: 1.1
Category: Tutorials

How to display static pages in Yii with database content?

Created 12 years ago by yasen, updated 11 years ago by 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: 43 052 times
Version: 1.1
Category: Tutorials

Creating Yii applications with composer

Created 12 years ago by schmunk, updated 11 years ago by 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: 116 106 times
Version: 1.1
Category: Tutorials

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

Created 12 years ago by bennouna, updated 11 years ago by 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: 19 816 times
Version: 1.1
Category: Tutorials

Ajax form submiting in Yii

Created 12 years ago by sirin k, updated 7 years ago by 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: 169 430 times
Version: 1.1
Category: Tutorials

Displaying, sorting and filtering HasMany & ManyMany relations in CGridView

Created 12 years ago by yJeroen, updated 12 years ago by 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: 75 234 times
Version: 1.1
Category: Tutorials

CGridView, CListView and CActiveDataProvider

Created 12 years ago by softark, updated 11 years ago by 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: 144 881 times
Version: 1.1
Category: Tutorials

Facebook DeAuthorize callback URL and its response data.

Created 12 years ago by sirin k, updated 7 years ago by 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: 25 280 times
Version: 1.1
Category: Tutorials
Tags: facebook

Create Yii Project In Cloud9

Created 12 years ago by Ben, updated 12 years ago by 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: 38 970 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, updated 12 years ago by bluezed.

Inspired by it I extended the CButtonColumn class like this:

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