Wiki

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

New Relic Error Alert with Yii

Created about a year ago by simon604Tips2 comments – viewed 9,000 times – ( +6 ) – version 1.1
Introduction

Quick Tip about Pagination Params

Created 4 years ago by Antonio RamirezTips2 comments – viewed 26,205 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 4 years ago by viterTips1 comment – viewed 10,329 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 mbalaTips3 comments – viewed 11,967 times – ( +6 ) – version 1.1
When I used CJuiTabs I did something. They are
tags: CJuiTabs

Fixing extensions without modifying their code

Created 2 years ago by schmunkTips3 comments – viewed 6,786 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.

View a related field in CGridView

Created 11 months ago by rafaelt88Tips1 comment – viewed 5,270 times – ( +6 ) – 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".

How to filter CGridView with From Date and To Date datepicker

Created 2 years ago by kiran sharmaTips16 comments – viewed 36,510 times – ( +17 / -4 ) – version 1.1
This artical is related to allow user to filter CGridView with date range using datepicker on submit button. Here I use Yii Cookie to preserve date in datepicker textbox after submitting the form.

using multiple radio button

Created 3 years ago by francis jaTips4 comments – viewed 35,593 times – ( +9 / -1 ) – version 1.1
When we use multiple radio buttons with same name in Yii many people have the problem on getting the value of the selected radiobutton. The radioButtonList can be used for that, but if we need to use radioButton itself to place the button any where in a view, we need to include one more parameter in htmloption array().

Extending CActiveForm for some form display fixes and language tweaks

Created 4 years ago by TrejderTips0 comments – viewed 14,433 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 about a year ago by chandranTips2 comments – viewed 7,638 times – ( +5 ) – version 1.1
Hi friends,