Wiki

Articles in category "tutorials", sorted by ratingX
Displaying 21-30 of 240 result(s).

XUpload Workflow

Created 2 years ago by AsgarothTutorials33 comments – viewed 56,662 times – ( +34 ) – version 1.1
This wiki describes a more complex workflow using the XUpload widget

Extension Development (beginner)

Created about a year ago by sefburhanTutorials2 comments – viewed 16,853 times – ( +34 ) – version 1.1
To extend the functionality of you web application relative to your requirements you are supposed to use existing yii core libraries or use external libraries. There are some steps to ensure security, uniqueness, modularity, performance and to avoid rework in future.

Tags manipulation using Select2 in single field

Created about a year ago by sefburhanTutorials0 comments – viewed 3,798 times – ( +33 ) – version 1.1
Sometime its very important to perform many actions/operation with limited time frame for friendly use, select2 provides a lot of such functionality , I just extend it tags functionality to provide a quick use for developer to save time, as I spent much time on it.

SEO-conform Multilingual URLs + Language Selector Widget (i18n)

Created 3 years ago by c@cbaTutorials36 comments – viewed 47,242 times – ( +32 ) – version 1.1
You have a multilingual application, and you want the URL of a page to be different for different languages, to account for SEO. The URL for the contact page for example should look like http://something.com/en/contact in english, and http://something.com/de/contact in german. This tutorial describes how to make it happen. Note that currently selected language is always a part of the URL, and thus available to the application through $_GET. You don't have to use sessions variables to keep track of the language if you don't want to.

Drills : Search by a HAS_MANY relation in Yii 1.1

Created 2 years ago by softarkTutorials13 comments – viewed 32,827 times – ( +32 ) – version 1.1
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.

How to automate timestamps in ActiveRecord models

Created 6 years ago by dalipTutorials8 comments – viewed 118,005 times – ( +30 ) – version 1.1
There are many ways to automate the setting of timestamps in yii ActiveRecord models. Three are presented here:

Understanding Scenarios

Created 3 years ago by Luke JurgsTutorials11 comments – viewed 91,154 times – ( +30 ) – version 1.1
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.

Creating Yii applications with composer

Created 2 years ago by schmunkTutorials2 comments – viewed 51,070 times – ( +30 ) – version 1.1
Creating Yii applications with composer

Yii for beginners 2

Created 2 years ago by rackyczTutorials2 comments – viewed 42,314 times – ( +30 ) – version 1.1
Hi :-) Is that you again? Welcome !! :-)

How to add more information to Yii::app()->user

Created 6 years ago by qiangTutorials2 comments – viewed 133,450 times – ( +29 ) – version 1.1
By default, the expression Yii::app()->user returns a CWebUser application component which represents the information that are closely related with the current user. Some information can be persistent throughout the current user session. For example, CWebUser already comes with a name property that stores the username of the current user.