Wiki

Articles in category "tips", sorted by ratingX
Displaying 51-60 of 137 result(s).

Quick Tip about Pagination Params

Created 3 years ago by Antonio RamirezTips2 comments – viewed 24,621 times – ( +6 ) – version 1.1
Developing custom Grids and ListViews for my new CMS I was facing a small challenge: If I was to update/delete/batch delete items of my Grid, how would I return to the current page view?
tags: Pagination

Yii code completion and calltips in Komodo Edit

Created 3 years ago by viterTips1 comment – viewed 9,663 times – ( +6 ) – version 1.1
My favourite editor is Komodo Edit (free and crossplatform) and I use it for my everyday coding work. Just recently I found out how to make it help me to work with Yii. :) So follow these steps:
tags: Komodo Edit

CJuiTabs Content

Created 2 years ago by mbalaTips2 comments – viewed 10,773 times – ( +6 ) – version 1.1
When I used CJuiTabs I did something. They are
tags: CJuiTabs

Fixing extensions without modifying their code

Created about a year ago by schmunkTips3 comments – viewed 5,908 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.

New Relic Error Alert with Yii

Created about a year ago by simon604Tips2 comments – viewed 6,105 times – ( +5 )
Introduction

Extending CActiveForm for some form display fixes and language tweaks

Created 3 years ago by TrejderTips0 comments – viewed 13,208 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.

CGridView customized CCheckBoxColumn

Created 8 months ago by chandranTips2 comments – viewed 5,272 times – ( +5 ) – version 1.1
Hi friends,

View a related field in CGridView

Created 4 months ago by rafaelt88Tips1 comment – viewed 2,128 times – ( +5 ) – version 1.1
Generally we need to show one or more fields from a model that is related to another model used in CGridView. For our case we will use two related models, which explain how to use model "A" fields in a CGridView that used model "B".

using jqbargraph to create beautiful graphs

Created about a year ago by MAHESH.E.UTips1 comment – viewed 5,730 times – ( +5 ) – version 1.1
If you are about to create a graph, the best option i would suggest is the jqbargraph.

CGridView: Adding behaviors from configuration, and template items from behaviors to CGridView

Created about a year ago by le_topTips0 comments – viewed 6,629 times – ( +5 ) – version 1.1
Changing the way a CGridView is rendered from the configuration file, or through behaviors specified at the moment it is used, is handy to extend a CGridView without creating tons of different classes for it. I am surprised that this is not in the default implementation, so I made my default CGridView implementation.