Showing 281-292 of 292 items.

Using CButtonColumn to customize buttons in CGridView

Created 15 years ago by Trejder Trejder, updated 13 years ago by Gismo Gismo. 20 comments

The easiest way to customize look and behaviour of them is to use series of CButtonColumn properties, like: updateButtonImageUrl (path to image for update button), updateButtonLabel (label for the update button; not HTML-encoded), updateButtonOptions (HTML options for this button, used in the way as many htmlOptions property for many widgets) and updateButtonUrl (a PHP expresion th...

75 0
59
Viewed: 358 900 times
Version: 1.1
Category: How-tos

How to use PHPExcel external library with Yii

Created 15 years ago by Antonio Ramirez Antonio Ramirez, updated 12 years ago by cgsmith cgsmith. 15 comments

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?

27 1
25
Viewed: 149 430 times
Version: 1.1
Category: How-tos

Reference: Model rules validation

Created 16 years ago by krillzip krillzip, updated 12 years ago by Rodrigo Rodrigo. 7 comments

This is a reference to be used for Model rule validation and is compiled from the Yii documentation and code. The purpose is to have all the information gathered in one place instead of scattered. This reference is not an intro. See The Definitive Guide to Yii, Declaring Validation Rules for a tutorial.

99 0
114
Viewed: 920 842 times
Version: 1.1
Category: How-tos

How to set up Unicode

Created 17 years ago by Mike Mike, updated 13 years ago by Roman Solomatin Roman Solomatin. 10 comments

To fix issues with display of special language characters once and for all there's a solution: use Unicode UTF-8 everywhere. If everything is set up to use Unicode, you can use mostly every language in your application.

19 0
14
Viewed: 151 940 times
Version: 1.1
Category: How-tos