Wiki articles in category Tutorials

Showing 121-140 of 264 items.

Beginner / Intro Tutorials (please add to / update this list)

Created 14 years ago by Ivo Roper, updated 11 years ago by Gerhard Liebenberg.

This is a central location to collect links to "Getting Started" documentation beyond the blog demo and Creating First Yii Application. Please help the community by adding general, introductory links and descriptions to this page.

4 0
8 followers
Viewed: 48 985 times
Version: 1.1
Category: Tutorials
Tags:

Displaying, sorting and filtering HasMany & ManyMany relations in CGridView

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

XUpload Workflow

Created 11 years ago by Asgaroth, updated 11 years ago by Asgaroth.

This wiki describes a more complex workflow using the XUpload widget

28 0
42 followers
Viewed: 95 116 times
Version: 1.1
Category: Tutorials

How to display static pages in Yii with database content?

Created 11 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: 42 301 times
Version: 1.1
Category: Tutorials

Events explained

Created 11 years ago by pligor, updated 11 years ago by Ivo Renkema.

Let's see what exactly are the events in Yii!

16 3
24 followers
Viewed: 56 215 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 510 times
Version: 1.1
Category: Tutorials

Adding search to Yii blog example (using Zend Lucene)

Created 12 years ago by dckurushin, updated 11 years ago by klammeraffe.
  • add under runtime directory, a new one call it search, it will be used for the index files that Zend Lucene will create. Make sure it is writable!
29 1
47 followers
Viewed: 88 625 times
Version: 1.1
Category: Tutorials

Behaviors & events

Created 14 years ago by pestaa, updated 11 years ago by Gismo.

These features provide endless possibilities and unbelievable flexibility, but as current documentation does not give more than a few examples, it might be difficult to fully understand their internals and requirements.

43 0
48 followers
Viewed: 160 368 times
Version: 1.1
Category: Tutorials
Tags:

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 133 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: 16 815 times
Version: 1.1
Category: Tutorials

Understanding Scenarios

Created 12 years ago by Luke Jurgs, updated 11 years ago by Luke Jurgs.

Scenarios are an extremely useful tool for separating validation tasks on any class you use derived from CModel. In this tutorial we will use CActiveRecord.

23 0
39 followers
Viewed: 178 781 times
Version: 1.1
Category: Tutorials

How to access a component of a module from within the module itself

Created 15 years ago by OriginalCopy, updated 11 years ago by Roman Solomatin.

The Yii documentation states:

3 1
7 followers
Viewed: 59 866 times
Version: 1.1
Category: Tutorials
Tags: module

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 370 times
Version: 1.1
Category: Tutorials

How to display static pages in Yii?

Created 15 years ago by qiang, updated 11 years ago by resurtm.

In a Web application, we often need to display pages like "about this site", "legal information", whose content are mostly static. There are several approaches to deal with this kind of pages.

14 0
13 followers
Viewed: 83 769 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: 51 390 times
Version: 1.1
Category: Tutorials

Creating Yii applications with composer

Created 11 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: 114 769 times
Version: 1.1
Category: Tutorials

Send mail using YiiMail extension

Created 11 years ago by RKA, updated 11 years ago by RKA.

Step1: Download the extension from path 'http://code.google.com/p/yii-mail/downloads/list' .

7 0
18 followers
Viewed: 118 474 times
Version: 1.1
Category: Tutorials
Tags: YiiMail

Ordering Models by Weight with CJuiSortable

Created 14 years ago by Matt Kelliher, updated 10 years ago by Phil Loaiza.

In this tutorial we will be setting up a content type to be ordered by weight using the JUI Sortable plugin.

9 0
10 followers
Viewed: 16 467 times
Version: 1.1
Category: Tutorials
Tags:

Implementing a WebDAV server using SabreDAV

Created 10 years ago by nineinchnick, updated 10 years ago by nineinchnick.

This article will show you how to easily implement a WebDAV server in your project using SabreDAV.

5 0
8 followers
Viewed: 42 725 times
Version: Unknown (update)
Category: Tutorials

Mantis Manager: An Asset Manager that minifies, combines, and publishes

Created 10 years ago by aarondfrancis, updated 10 years ago by aarondfrancis.

Hello everybody.

4 0
8 followers
Viewed: 10 901 times
Version: Unknown (update)
Category: Tutorials
Tags: assets, heroku