Wiki

Articles in category "tutorials", sorted by commentsX
Displaying 1-10 of 203 result(s).

Searching and sorting by related model in CGridView

Created 2 years ago by redguyTutorials72 comments – viewed 106,992 times – ( +102 ) – version 1.1
Lets say we have two models and relation between them:

CJuiDialog for create new model

Created 3 years ago by zaccariaTutorials43 comments – viewed 69,905 times – ( +61 ) – version 1.1
In this tutorial we will learn how to realize a create interface using a dialog.

Creating a dependent dropdown

Created 5 years ago by dalipTutorials36 comments – viewed 215,336 times – ( +103 / -3 ) – version 1.1
Often you'll need a form with two dropdowns, and one dropdown's values will be dependent on the value of the other dropdown. Using Yii's built-in AJAX functionality you can create such a dropdown.

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

Created 2 years ago by c@cbaTutorials35 comments – viewed 34,645 times – ( +28 ) – 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.

NetBeans IDE and Yii projects

Created 3 years ago by marcovtwoutTutorials28 comments – viewed 153,830 times – ( +75 ) – version 1.1
This page is created to supply short directions and general tips for managing a Yii application in NetBeans IDE.

How to upload a file using a model

Created 5 years ago by qiangTutorials26 comments – viewed 270,895 times – ( +80 / -6 ) – version 1.1
First declare an attribute to store the file name in the model class (either a form model or an active record model). Also declare a file validation rule for this attribute to ensure a file is uploaded with specific extension name.
tags: File upload

Installing Yii Users and Rights to Newly Created Yii app

Created about a year ago by Rajith RTutorials25 comments – viewed 44,897 times – ( +17 / -2 ) – version 1.1
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.

Organize directories for applications with front-end and back-end using WebApplicationEnd behavior

Created 4 years ago by andy_sTutorials22 comments – viewed 66,849 times – ( +31 ) – version 1.1
Previously there was described a way to build an application with front-end and back-end. I would like to continue this theme and suggest another way to organize directories using WebApplicationEnd behavior.

XUpload Workflow

Created about a year ago by AsgarothTutorials22 comments – viewed 39,605 times – ( +31 ) – version 1.1
This wiki describes a more complex workflow using the XUpload widget

CJuiDialog and AjaxSubmitButton

Created 3 years ago by tydeas_drTutorials21 comments – viewed 79,076 times – ( +36 / -2 ) – version 1.1
Hello ppl. Even though i have a small experience with yii I though of writing this to help people which want to do something similar.
tags: AJAX