Wiki

Sorted by viewsX
Displaying 151-160 of 742 result(s).

How to create/save more Model inputs and make them repeatable with jQuery

Created 6 years ago by qiangTutorials3 comments – viewed 35,710 times – ( +12 ) – version 1.1
This is the first real problem that I encountered using Yii, trying to make a Model input repeatable in the form, validate and save them.

Filter & Sort by calculated/related fields in GridView Yii 2.0

Created about a year ago by Kartik VTutorials21 comments – viewed 35,692 times – ( +50 / -4 ) – version 2.0
This wiki explains how to add calculated fields into your Yii Framework 2.0 gridview with filtering and sorting.

Common Yii questions

Created 3 years ago by dckurushinFAQs2 comments – viewed 35,659 times – ( +21 ) – version 1.1
Here I suggest to list the most common questions you meet in the forum or freenode irc. Feel free to edit this wiki article, and add another question with answer

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

Created 2 years ago by sirin kTips5 comments – viewed 35,526 times – ( +7 ) – version 1.1
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

Avoiding rendering entire page when using CGridView and CListView via AJAX

Created 4 years ago by xrxHow-tos17 comments – viewed 35,022 times – ( +24 ) – version 1.1
Since I used CGridView for a first time, I didn't like how it handled operations like sorting, filtering, changing page and etc using AJAX.

Customizing the CMenu Widget

Created about a year ago by mistrybTips1 comment – viewed 34,927 times – ( +5 / -1 ) – version 1.1
The CMenu class provides some useful features for generating menus in your web application.

using multiple radio button

Created 3 years ago by francis jaTips4 comments – viewed 34,894 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().

Use application on production/development environment without making changes

Created 3 years ago by ifdatticTips3 comments – viewed 34,891 times – ( +8 / -1 ) – version 1.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.

How to hide /frontend/web in url addresses on apache

Created 6 months ago by raminiousHow-tos11 comments – viewed 34,890 times – ( +12 ) – version 2.0
There is an issue on Yii2 to redirecting / urls to /frontend/web. In other words we need a way to hidden /frontend/web from addresses. We will do this without changing Apache configuration and creating virtual host or setting document root (It's good for share hostings that we have not access to apache.conf)

Filter / Search with CListView

Created 3 years ago by JohnPollardHow-tos9 comments – viewed 34,853 times – ( +29 ) – version 1.1
This is what I did. Its the EASIEST solution that I know of. I just reused the advanced search done in CGridView.