Wiki

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

Real Time Logging

Created 4 years ago by lucifuriousTips3 comments – viewed 20,944 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.

Change buttons on our CGridView extending yii

Created 3 years ago by sensorarioTips5 comments – viewed 25,113 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 =).

Insert a multirow header in CGridView

Created about a year ago by PeppeHow-tos2 comments – viewed 11,045 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.

Fixing extensions without modifying their code

Created 2 years ago by schmunkTips3 comments – viewed 6,649 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 CActiveForm for some form display fixes and language tweaks

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

thumbsgen and Kohana Image Library together (extends an extension)

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

Extending CJuiDialog

Created 2 years ago by dstudioHow-tos0 comments – viewed 9,376 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:

Extending an ActiveRecord model

Created 2 years ago by BogseyHow-tos3 comments – viewed 12,855 times – ( +2 / -3 ) – version 1.1
Introduction