Articles tagged with "extending", sorted by date (updated)X
Displaying 1-8 of 8 result(s).

Insert a multirow header in CGridView

Updated 10 months ago by PeppeHow-tos2 comments – viewed 11,549 times – ( +6 ) – version 1.1
The CGridView widget is very useful and customizable, but sometimes you need a little more. One limit I found is to have only one row for headers; yes, you can write each column header in more than one row, but just inside the single cell. I was looking instead for the possibility to use more than one row, with different structure one from the others. This way you can write columns grouping headers, and obtain a nicer view.

thumbsgen and Kohana Image Library together (extends an extension)

Updated about a year ago by Kostas Apazidis (KonApaz)How-tos0 comments – viewed 3,575 times – ( +2 )
In this wiki I will show you how to extends an extension and/or how can two or more extensions work together.

Fixing extensions without modifying their code

Updated 2 years ago by schmunkTips3 comments – viewed 6,978 times – ( +6 ) – version 1.1
If you're working a lot with extensions you often stumble upon problems, when you want to include them into your custom web application, like hardcoded or absolute path aliases or classes extended from core application components, which implement addiditonal features.

Extending an ActiveRecord model

Updated 2 years ago by BogseyHow-tos3 comments – viewed 13,409 times – ( +2 / -3 ) – version 1.1

Extending CJuiDialog

Updated 2 years ago by Maurizio Domba CerinHow-tos0 comments – viewed 9,612 times – ( +2 / -2 ) – version 1.1
Sometimes you have CJuiDialog with different content but same buttons (or width, height). If you don't want to repeat yourself this is a great solution:

Change buttons on our CGridView extending yii

Updated 3 years ago by sensorarioTips5 comments – viewed 25,655 times – ( +11 ) – version 1.1
In this tip, I'll help you to change in few second buttons of your CGridView. I hope you like it =).

Real Time Logging

Updated 4 years ago by lucifuriousTips3 comments – viewed 21,499 times – ( +14 ) – version 1.1
I've seen a lot of people asking about the logging facilities in Yii and thought I'd share a nice little class I wrote that provides near real-time logging.

Extending CActiveForm for some form display fixes and language tweaks

Updated 4 years ago by TrejderTips0 comments – viewed 14,676 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.