Wiki

Sorted by viewsX
Displaying 81-90 of 741 result(s).

Using standard filters in CGridView custom fields

Created 4 years ago by GOshaHow-tos4 comments – viewed 53,497 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:

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

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

Using filters with CGridView and CArrayDataProvider

Created 3 years ago by marcovtwoutHow-tos32 comments – viewed 53,193 times – ( +21 ) – version 1.1
Using filters on CGridView with CActiveDataProvider is easy, but with CArrayDataProvider it is a bit tricky.

How to log and debug variables using CWebLogRoute

Created 4 years ago by Antonio RamirezHow-tos8 comments – viewed 52,435 times – ( +18 ) – version 1.1
I have seen a couple of articles about how to integrate external libraries to debug our PHP code (i.e. firePHP) but after you read this article you will realize that there is no need for such libraries when using Yii.
tags: Logging

Using the configuration file, explain what can be configured.

Created 5 years ago by atrandafirTutorials0 comments – viewed 51,964 times – ( +20 ) – version 1.1
The purpose of this post is to let anyone quickly find how to accomplish a configuration task, and list here all the posibilities of the config.php file and also link to pages that explain how is each thing implemented.

CListView AJAX filtering

Created 3 years ago by DragaTutorials17 comments – viewed 51,770 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

How to translate and do the translations the easy way

Created 3 years ago by Roman SolomatinHow-tos3 comments – viewed 50,921 times – ( +27 / -2 ) – version 1.1
I wanted to keep all the I18N related translations in separate files, so that I would not need to modify the view files or the model files every time I need to update or fix the translations of application's source language.

How to display static pages in Yii?

Created 6 years ago by qiangTutorials2 comments – viewed 50,613 times – ( +19 ) – version 1.1
In a Web application, we often need to display pages like "about this site", "legal information", whose content are mostly static. There are several approaches to deal with this kind of pages.
tags: static pages

Displaying image in a CGridView column.

Created 2 years ago by sirin kHow-tos5 comments – viewed 49,965 times – ( +13 / -1 ) – version 1.1
This is a simple example of how we can display images in CGridviews.Imagine that you have an image field in your table ie either a location field or a blob type field used to store the images.
tags: CGridView, image

YiiBoilerplate - Setup a professional project structure in seconds

Created 2 years ago by Antonio RamirezOthers53 comments – viewed 49,926 times – ( +48 ) – version 1.1
YiiBoilerplate
tags: directory, config