Displaying 681-690 of 779 result(s).

Using CButtonColumn to customize buttons in CGridView

Created 5 years ago by TrejderHow-tos18 comments – viewed 271,588 times – ( +101 ) – version 1.1
CGridView is a one of most flexible widgets in Yii and example its flexibility is CButtonColumn used to build buttons for steering model in each grid row. Here in this how-to we will explain ways user can customize CButtonColumn to flexibly fit it to its needs.

Directory independent extensions

Created 5 years ago by GOshaTips3 comments – viewed 10,839 times – ( +16 / -1 ) – version 1.1
Many people want to use downloaded extensions in their own way. As for me most of the extensions require me to correct Yii::import() instructions inside their source code. All these extensions are directory dependent. To avoid the situation described above, I suggest to implement pseudo-anonymous aliases:

Adding Yii Search to Your Browser Search Box

Created 5 years ago by qiangTips1 comment – viewed 42,062 times – ( +28 ) – version 1.1
The official Yii project site now supports OpenSearch. This means you can customize your browser's search box to enable direct search of the content in For example, by entering a Yii class name in the browser's search box, the corresponding class API page will be shown in the browser.
tags: search

Code style

Created 5 years ago by zaccariaTips2 comments – viewed 16,960 times – ( +30 ) – version 1.1
Often, when writing widgets or editing Yii code, it is unclear whether or not the code is following the MVC pattern.
tags: mvc

How to use PHPExcel external library with Yii

Created 5 years ago by Antonio RamirezHow-tos14 comments – viewed 92,545 times – ( +30 / -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?

Yii and XAMPP server on Windows

Created 5 years ago by TrejderTutorials0 comments – viewed 58,084 times – ( +3 ) – version 1.1
This article explains issues about installing XAMPP server package (Lite version) on Windows OS and configuring it for serving webapps written in Yii. Please note, that XAMPP is available for many more platforms and systems. I write about Windows edition as it was the only one tested by me.
tags: windows, xampp, server

Using Yii with Oracle through PDO

Created 5 years ago by TrejderTips6 comments – viewed 47,056 times – ( +1 ) – version 1.1
When you are developing an webapp with Yii that will be using Oracle RDBMS you should take a look at these issues in which you may run into it.

Yii Related Sites

Created 5 years ago by jacmoeOthers4 comments – viewed 49,446 times – ( +34 ) – version 1.1
This is a list of blogs, off-site tutorials and other resources about Yii.

Extending CActiveForm for some form display fixes and language tweaks

Created 5 years ago by TrejderTips0 comments – viewed 16,395 times – ( +5 ) – version 1.1
In this simple example I'll demonstrate how to extend CActiveForm class to overload some drawing functions to achieve some commonly used fixes in forms.

Saving files to a blob field in the database

Created 5 years ago by zaccariaTips8 comments – viewed 54,960 times – ( +9 / -2 ) – version 1.1
As a follow-up from the How to upload a file using a model wiki entry that explains how to save a file to the filesystem, this article will do the same using a blob field in the database.
tags: File upload