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

New Relic Error Alert with Yii

Created 3 years ago by simon604Tips2 comments – viewed 14,490 times – ( +6 ) – version 1.1

Quick Tip about Pagination Params

Created 5 years ago by Antonio RamirezTips2 comments – viewed 28,680 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 5 years ago by viterTips1 comment – viewed 11,543 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 4 years ago by mbalaTips3 comments – viewed 14,268 times – ( +6 ) – version 1.1
When I used CJuiTabs I did something. They are
tags: CJuiTabs

Fixing extensions without modifying their code

Created 3 years ago by schmunkTips3 comments – viewed 9,065 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 2 years ago by rafaelt88Tips1 comment – viewed 9,828 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 4 years ago by kiran sharmaTips16 comments – viewed 46,275 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 4 years ago by francis jaTips4 comments – viewed 46,662 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().

Boost composer-asset-plugin update speed

Created 3 months ago by schmunkTips0 comments – viewed 4,736 times – ( +5 ) – version 2.0
If you're using a lot of bower and npm assets with Yii 2.0 you might encounter long running composer update tasks.

Extending CActiveForm for some form display fixes and language tweaks

Created 5 years ago by TrejderTips0 comments – viewed 16,406 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.