Wiki

Sorted by viewsX
Displaying 401-410 of 600 result(s).

Upload CSV File

Created about a year ago by bhavesh vaghelaTutorials1 comment – viewed 8,015 times – ( +5 ) – version 1.1
View file

How to implement an event and attach it in a behavior

Created about a year ago by seb7How-tos0 comments – viewed 8,006 times – ( +3 ) – version 1.1
This page explains how to implement an event and catch that event in a behavior.
tags: event, behavior

multiple CActiveDataProviders in one CGridView

Created 10 months ago by KonApazHow-tos5 comments – viewed 7,945 times – ( +7 / -1 )
There is a few cases that you want more of one CActiveDataProvider displayed in one CGrideView How to do that?

Directory independent extensions

Created 3 years ago by GOshaTips3 comments – viewed 7,915 times – ( +15 / -1 ) – version 1.1
Many people want to use downloaded extensions in their own way. As for me most of the extensions require me to correct Yii::import() instructions inside their source code. All these extensions are directory dependent. To avoid the situation described above, I suggest to implement pseudo-anonymous aliases:

Shrink Yii, help your IDE and speed up copying

Created 2 years ago by dckurushinTips11 comments – viewed 7,908 times – ( +9 / -9 ) – version 1.1
In this little tip, I will help you to cut Yii size for about half

Preventing CJuiTabs from hiding drop-down CMenu items

Created 3 years ago by Steve FriedlTips1 comment – viewed 7,907 times – ( +4 ) – version 1.1
Almost all Yii applications use CMenu at the top of each page to show options available to the user, and many include drop-down components to allow more fine-grained selection.

Adding 'disabled' to CCheckBoxColumn and support for yiigridview.js

Created about a year ago by Xgamer99Tips3 comments – viewed 7,886 times – ( +1 ) – version 1.1
I recently had to have a checkbox column in my grid view that supported the 'disabled' attribute. This was easy enough to do by extending the CCheckBoxColumn. However, I also wanted the checkbox to be selected when clicking on the table's row (supported via CGridView's selectableRows option). I discovered I had to tweak yiigridview.js so that it would not select disabled rows when clicking on it or on the 'select all' checkbox.

Our WebApp that will run without downtime during update/upgrade

Created 2 years ago by Pinoy CoderzTutorials3 comments – viewed 7,873 times – ( +8 / -2 ) – version 1.1
How many of us wonder how we can upgrade the website without hurting the operation of our WebApp?
tags: tutorial

Upload image and content using AJAX and Store it in different table

Created 2 months ago by SelvakumarHow-tos0 comments – viewed 7,867 times – ( +2 ) – version 1.1
We all know how to upload the content and images at the same time with refreshing the page. And uploading the images using Ajax we have faced some issues, here i have fixed the issues and both content and photos are uploaded using Ajax. And both content and images are stored in the different tables

Yii CGridView add custom button

Created 5 months ago by Arockia JohnsonHow-tos1 comment – viewed 7,863 times – ( +6 ) – version 1.1
Hi buddies !, This tutorial shows about how to add a custom button with your own icon for your CGridView of Yii framework