Wiki

Articles in category "tips", sorted by ratingX
Displaying 41-50 of 99 result(s).

Importing CSV file to mysql table using "LOAD DATA" command.

Created 11 months ago by sirin kTips10 comments – viewed 14,150 times – ( +5 )
hi, Here i am giving you some simple step to import huge data from a csv file to your mysql table.this is useful when you have a very huge data to import from csv format.
tags: csv, mysql, import

Extending CActiveForm for some form display fixes and language tweaks

Created 2 years ago by TrejderTips0 comments – viewed 8,509 times – ( +5 )
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.

Quick Tip about Pagination Params

Created 2 years ago by Antonio RamirezTips2 comments – viewed 17,530 times – ( +5 )
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 2 years ago by viterTips1 comment – viewed 6,975 times – ( +5 )
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 7 months ago by mbalaTips2 comments – viewed 5,196 times – ( +5 )
When I used CJuiTabs I did something. They are
tags: CJuiTabs

Fixing extensions without modifying their code

Created 2 months ago by schmunkTips3 comments – viewed 2,200 times – ( +5 )
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.

using jqbargraph to create beautiful graphs

Created 2 months ago by MAHESH.E.UTips0 comments – viewed 2,385 times – ( +5 )
If you are about to create a graph, the best option i would suggest is the jqbargraph.

Use application on production/development environment without making changes

Created about a year ago by ifdatticTips2 comments – viewed 16,159 times – ( +8 / -1 )
I like programing on my localhost, however it really bugged me to make changes to index.php & config files on my production server. After combining all available wiki articles on this topic and some trial and error this is what I use for my applications so I could just upload it to production server and it will work without any changes.

Update two models with one view

Created about a year ago by sensorarioTips10 comments – viewed 18,673 times – ( +10 / -2 )
Suppose to have two models: Users and Emails. You do not want to store email in a Users model. And User can have 0 or many emails. This is the form generated to create a new user (just username).
tags: database, model, view, form

Managing constants easily

Created about a year ago by briiC.lvTips4 comments – viewed 6,178 times – ( +4 )
For time to time i have models with constants (basicly status constants) which i use in diferent places and if these constant changes, i have to change mentions of constant in code elsewhere.