Wiki articles in category Tutorials

Showing 61-80 of 219 items.

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

Create image thumbnails with php_img_preview

Created 12 years ago by Anas AbuDayah, updated 10 years ago by Anas AbuDayah.

This is another way to view images in your application and I like this way because it's simple and I think it's better performance than other.

4 0
9 followers
Viewed: 24 413 times
Version: 1.1
Category: Tutorials
Tags: images, views

Simple way to use AutoComplete using different ID and Display Value

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

Usually when we use AutoComplete in a project, We need to show "title" or "name" in the list, while when the form is posted, we need some sort of integer ID referring to the selected value. Out of the Box, CJuiAutoComplete widget doesn't provides different display text and post values.

6 0
13 followers
Viewed: 63 433 times
Version: 1.1
Category: Tutorials

Custom Number Formatting or Decimal Separators and i18n

Created 12 years ago by c@cba, updated 12 years ago by c@cba.

By default, the decimal separator in php (also in mysql) is a dot (.). So when we work with floats in Yii (in calculations, validation, sql statements etc.), the decimal separator has to be a dot. If we want to use for example a comma (,) as the decimal separator, that is if we want to display numbers and enable users to enter numbers with a comma before the decimals, we have to...

4 0
16 followers
Viewed: 87 905 times
Version: 1.1
Category: Tutorials

Auto set model fields values

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

This is a tutorial for how to auto set model values without any code.

5 0
11 followers
Viewed: 31 642 times
Version: 1.1
Category: Tutorials

Working with CGridView in Admin Panel

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

This is a tutorial for how to add input text-Field, check-box, buttons in CGridView.

21 1
41 followers
Viewed: 91 708 times
Version: 1.1
Category: Tutorials

How to setup CKeditor

Created 12 years ago by Dark-Sun, updated 12 years ago by Dark-Sun.

To start with you need to download the latest stable release of CKeditor. Extract the downloaded file and place the ckeditor/ folder in your applications webroot directory. (beside "protected" and "css" and other directories)

3 0
8 followers
Viewed: 35 148 times
Version: 1.1
Category: Tutorials