Wiki

Sorted by commentsX
Displaying 51-60 of 733 result(s).

AngularJS Frontend:Connecting it with a Yii Backend REST API.Gallery Manager Demo Application.

Created about a year ago by drumaddictHow-tos15 comments – viewed 51,001 times – ( +21 ) – version 1.1
AngularJS Frontend:Connecting it with a Yii Backend REST API.Gallery Manager Demo Application.

Understanding the view rendering flow

Created 3 years ago by dckurushinFAQs15 comments – viewed 149,356 times – ( +91 / -3 ) – version 1.1
There is a lot of confusion surrounding what is happening behind the scenes when you render a view.

Yii User and Rights Implementation

Created about a year ago by Rajith RHow-tos14 comments – viewed 20,105 times – ( +7 / -7 ) – version 1.1
implementing some features of yii user and rights.

How to use a Widget as an Action Provider

Created 4 years ago by Antonio RamirezHow-tos14 comments – viewed 33,825 times – ( +27 ) – version 1.1
As written on the API docs: An Action Provider Widget is a widget that has declared several actions by using its 'public static function actions()'. After, a Controller can easily import all its declared actions on its 'public function actions()'.
tags: Widgets, CAction

CGridView: Render customized/complex datacolumns

Created 3 years ago by JobloTips13 comments – viewed 123,234 times – ( +73 ) – version 1.1
If you have to display a overview of related data in a table, you can use the CListView, create your view with table/tr/td tags and implement db-queries in the view to display detaildata of the current (master-)record.
tags: CGridView

Using CJuiDatePicker for CGridView filter

Created 2 years ago by softarkHow-tos13 comments – viewed 36,884 times – ( +24 ) – version 1.1
We can use a CJuiDatePicker for a CGridView inline filter.

Searching and Sorting by Count of Related Items in CGridView

Created 2 years ago by softarkHow-tos13 comments – viewed 33,084 times – ( +30 ) – version 1.1
Let's say we have two models and relation between them:

How to filter CGridView with From Date and To Date datepicker

Created 2 years ago by kiran sharmaTips13 comments – viewed 34,516 times – ( +17 / -4 ) – version 1.1
This artical is related to allow user to filter CGridView with date range using datepicker on submit button. Here I use Yii Cookie to preserve date in datepicker textbox after submitting the form.

How to use PHPExcel external library with Yii

Created 4 years ago by Antonio RamirezHow-tos13 comments – viewed 67,352 times – ( +29 / -1 ) – version 1.1
Trying to learn and help some other programmers to find their solutions on the Yii Forum (I think is a superb way to learn the framework), I was facing one challenge with an external library that a fellow programmer wanted to use -quite good indeed: PHPExcel. And what is PHPExcel?

Create your own Validation Rule

Created 3 years ago by nickcvHow-tos13 comments – viewed 139,178 times – ( +75 / -3 ) – version 1.1
Some times the core validation rules provided by Yii won't satisfy all your needs, so you'll need to create your very own validation rule.