Wiki

Sorted by ratingX
Displaying 141-150 of 784 result(s).

Using standard filters in CGridView custom fields

Created 6 years ago by GOshaHow-tos4 comments – viewed 62,461 times – ( +17 ) – version 1.1
In this article I'll try to explain how to use standard quick search fields in CGridView with customized columns.For example: We have a record in a database with field switch having 0 or 1 values. After that we want a user to see on or off instead 1 or 0. So we do the usual thing:

CListView AJAX filtering

Created 5 years ago by DragaTutorials17 comments – viewed 63,110 times – ( +17 ) – version 1.1
This tutorial shows how to filter CListView items by AJAX, and it's compatible with disabled JavaScript users In my case this has been done to filter users list

Implementing cron jobs with Yii

Created 6 years ago by samdarkHow-tos6 comments – viewed 80,521 times – ( +33 / -2 ) – version 1.1
There are two ways to run a cron job:
tags: cron, cli

Yii 2 list of path aliases available with default basic and advanced app.

Created 2 years ago by Kartik VTips2 comments – viewed 84,818 times – ( +53 / -5 ) – version 2.0
If you are coming over from Yii 1.x to Yii 2, and already read this guide, you may note that namespaces are very important in Yii 2 to identify classes. But do you know the list of seeded path aliases that come shipped with a basic or advanced app? Here is my attempt to list them.

Understanding series articles

Created 5 years ago by GOshaTips0 comments – viewed 9,674 times – ( +16 ) – version 1.1
Here are all wiki articles from "Understanding" series by Yii wiki contributors:

Simple authorization system

Created 5 years ago by GustavoHow-tos1 comment – viewed 34,289 times – ( +16 ) – version 1.1
How to create a simple (non-RBAC) authorization system

1:n relations sometimes require CDbCriteria.together

Created 5 years ago by fsbTips5 comments – viewed 38,142 times – ( +16 ) – version 1.1
There are situations in which Active Record will generate nonsense queries from what a nieve Yii user might think is reasonable code. One such situation is a CActiveDataProvider using CDbCriteria to get data from parent and 1:n child table with a condition on the child table.

FORM with GET method causes repeated stacking of URL Parameters

Created 2 years ago by Kartik VTips2 comments – viewed 25,348 times – ( +44 / -4 ) – version all
You are using an ActiveForm in yii (both v1.x or 2), with a GET method like below:

How to upload image(photo), and path entry in database with update functionality

Created 4 years ago by kiran sharmaTips22 comments – viewed 167,801 times – ( +37 / -3 ) – version 1.1
I saw many posts that community newbie is confuse in image/photo upload with random name. so I post this topic covering all useful things regarding to image/photo upload(not covering image attribute related functionality)

Using search engine and user friendly URLs

Created 7 years ago by qiangTutorials7 comments – viewed 76,344 times – ( +23 / -1 ) – version 1.1
The Definitive Guide introduces the fundamentals of managing URLs in a Yii application. In this tutorial, we introduce a practical technique that can quickly turn your application into using search-engine-friendly URLs.
tags: SEO, URL