Wiki

Sorted by commentsX
Displaying 161-170 of 784 result(s).

Creating a Simple CRUD App With Yii2 (Revised 12/20/2013)

Created 4 years ago by Charles R. Portwood IITutorials7 comments – viewed 192,254 times – ( +10 / -11 ) – version 2.0
Creating a Simple CRUD App with Yii Framework 2 (Updated December 20th, 2013)
tags: yii2, tutorial, howto

How to upload a file using a model

Created 8 years ago by qiangTutorials6 comments – viewed 440,243 times – ( +86 / -7 ) – 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

Pjax on ActiveForm and GridView - Yii2

Created 2 years ago by SreenadhHow-tos6 comments – viewed 82,740 times – ( +13 / -1 ) – version 2.0
Here is a example on how to use Pjax with GridView (yii\grid\GridView) and ActiveForm (yii\widgets\ActiveForm) widgets in Yii2.

How to avoid rendering entire page on AJAX call for CGridView and CListView

Created 4 years ago by VINAY Kr. SHARMAHow-tos6 comments – viewed 24,454 times – ( +5 / -1 ) – version 1.1
CGridView and CListView are great widget to populate records and also provides features like ajax update, column sort, search, drop-down filter, ajax content load and many more...

How to pass the third parameter to UserIdentity on login authentication

Created 2 years ago by Rohit SutharHow-tos6 comments – viewed 15,796 times – ( +2 / -1 ) – version 1.1
In this wiki I will show how could wo pass the third parameter to UserIdentity on login authenticate. So we can do separate login authentcation from two or more different models from single login form.

How to learn Yii?!

Created 5 years ago by yJeroenTutorials6 comments – viewed 86,121 times – ( +25 / -1 ) – version all
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.

How to insert a Simple Dialog Box

Created 5 years ago by bluyellHow-tos6 comments – viewed 29,533 times – ( +5 / -3 ) – version 1.1
I build this simple PHP class (DialogBox.php at the bottom of this wiki) to help you in the dialog box usage on Yii applications. The goal is run any Yii actions into this dialog box and return the resulting value to the calling instance.

How to generate Web feed for an application

Created 8 years ago by qiangTutorials6 comments – viewed 25,104 times – ( +4 / -1 ) – version 1.1
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 on how to use other components in Zend Framework.

CGridView Date Range Without Cookies or Session (External Filtering)

Created 3 years ago by ezekielnoobHow-tos6 comments – viewed 13,574 times – ( +5 / -1 ) – version 1.1
Here's a tutorial on how to create a CGridView with external date filters the trick is to create hidden columns within the CGridView Filters something like in the example below:

Yii HMVC

Created 3 years ago by ezekielnoobHow-tos6 comments – viewed 13,632 times – ( +5 / -2 )
Right now we can use widgets + action provider like in this tutorial: How to use a Widget as an Action Provider