Wiki articles in category Tutorials

Showing 161-180 of 264 items.

Adding login form to each page

Created 14 years ago by pestaa, updated 11 years ago by Yang He.

After adding proper form to the main layout, like:

3 1
7 followers
Viewed: 49 441 times
Version: 1.1
Category: Tutorials

How to add ajax-loading indicators

Created 14 years ago by schmunk, updated 11 years ago by Yang He.

With yii you're able to create ajax requests and updates easily. But most times you always want to show a loading indicatior to your user.

23 0
25 followers
Viewed: 75 681 times
Version: 1.1
Category: Tutorials
Tags: AJAX

Tabular Input, Validating and Saving related models

Created 10 years ago by Xavier John, updated 9 years ago by hasanavi.

This tutorial shows how to use a model to save and validate related (MANY_MANY) models.

4 0
16 followers
Viewed: 42 824 times
Version: 1.1
Category: Tutorials

Starting your Yii Project Reference Guide (with Git VCS in Linux)

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

I've found useful to have a step by step reference guide to work with Git with most used commands, feel free to update it with useful information you may find interesting too.

16 0
12 followers
Viewed: 41 206 times
Version: 1.1
Category: Tutorials

Simplified meta tags

Created 14 years ago by Y!!, updated 13 years ago by Y!!.

If we want to set meta tags on a per page (controller-action) basis, we may use the clientScript application component.

13 0
17 followers
Viewed: 55 752 times
Version: 1.1
Category: Tutorials
Tags:

Installing and configuring the Yii User Management Module under a fresh skeleton application generated by yiic

Created 14 years ago by thyseus, updated 13 years ago by Orteko.

p.s. latest version of this tutorial is always available unter the docs/ folder of the User Management Module.

12 2
15 followers
Viewed: 95 173 times
Version: 1.1
Category: Tutorials

How to create/update a model with its related items using Listbox or CheckboxList

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

Assume we have many categories and many posts.

5 0
6 followers
Viewed: 86 694 times
Version: 2.0
Category: Tutorials

Add information to Yii::app()->user by extending CWebUser (better version)

Created 13 years ago by emix, updated 10 years ago by Anas AbuDayah.

I found a better solution.

5 0
10 followers
Viewed: 49 355 times
Version: 1.1
Category: Tutorials
Tags: rbac, user, Yii

Integrating FirePHP

Created 13 years ago by ricardograna, updated 13 years ago by ricardograna.
  • Install Firebug plugin for Firefox from here.
7 0
6 followers
Viewed: 18 022 times
Version: 1.1
Category: Tutorials
Tags:

Simple way to use AutoComplete using different ID and Display Value

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

Saving CGridView filter

Created 10 years ago by sefburhan, updated 10 years ago by CeBe.

In this tutorial we will try to save cgridview filter(search) with title etc. basically we want to save two forms data i.e one represents filters and other data about filters like title, description etc. You can define your own structure for filter saving table here are some basic steps

1 0
31 followers
Viewed: 13 411 times
Version: 1.1
Category: Tutorials

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

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

Inspired by it I extended the CButtonColumn class like this:

5 0
7 followers
Viewed: 43 366 times
Version: 1.1
Category: Tutorials

Create Yii Project In Cloud9

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

shortcut/usefull access roles methods RBAC

Created 9 years ago by Kostas Apazidis (KonApaz), updated 9 years ago by Kostas Apazidis (KonApaz).

These are functions that I used very often, may helps you!

1 0
5 followers
Viewed: 14 432 times
Version: 1.1
Category: Tutorials

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

Created 11 years ago by nlac, updated 9 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: 62 339 times
Version: 1.1
Category: Tutorials

YII SaaS Multi Tenant application with single database

Created 10 years ago by Rajith R, updated 9 years ago by xJose.

Lots of people are asking how to solve it with YII,We think its difficult with YII. But its easy to solve . There is no database triggers needed . we can simply sove it by extending a class(say "RActiveRecord") from CActiveRecord .Then extend all our model classes from that class.

6 1
14 followers
Viewed: 27 793 times
Version: 1.1
Category: Tutorials

JWT authentication tutorial

Created 2 years ago by Allan Jensen, updated 2 years ago by Allan Jensen.

JWT is short for JSON Web Token. It is used eg. instead of sessions to maintain a login in a browser that is talking to an API - since browser sessions are vulnerable to CSRF security issues. JWT is also less complicated than setting up an OAuth authentication mechanism.

13 0
8 followers
Viewed: 150 046 times
Version: 2.0
Category: Tutorials

How to learn Yii?!

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

Here is a step by step To-Do list for Yii beginners. The list is an advice of what tutorials and documentation you can walk through to get a full understanding of the Yii Framework. These can be a help to learn Yii.

17 0
21 followers
Viewed: 118 889 times
Version: all
Category: Tutorials

Create Excel File with PHPExcel Plugin (Insert Image in Excel Sheet ,Use Template to Create Excel File, Create New Sheet)

Created 10 years ago by codesutra, updated 9 years ago by codesutra.

This is an example for how to create Excel File with PHPExcel library.This article is inspired by Wikki Article return by Antonio Ramirez and extension created by marcovtwout for [PHPExcel library](https://github.co...

How to generate Web feed for an application

Created 15 years ago by qiang, updated 11 years ago by Yang He.

Web feed is a data format used for providing users with frequently updated content. In this article, we describe how to use Zend_Feed, an excellent component from Zend Framework to generate Web feed for an Yii application. This article can also serve as a general guide...

3 0
9 followers
Viewed: 37 317 times
Version: 1.1
Category: Tutorials
Tags: