Wiki

Sorted by viewsX
Displaying 511-520 of 782 result(s).

Limit a CGridView field to some preset length.

Created 3 years ago by le_topHow-tos1 comment – viewed 12,280 times – ( +13 ) – version 1.1
Sometimes text inside a gridview column is just too long. That's why I figured out a way to make the column smaller while still providing the information.

How to extend CFormatter, add i18n support to booleanFormat and use it in CDetailView

Created 4 years ago by c@cbaHow-tos3 comments – viewed 12,268 times – ( +9 ) – version 1.1
As you know, the CDetailView widget displays details of a single model. If no formatting is specified, boolean values that are stored in the database as 0 and 1, are represented in the detail view as 0 and 1. If formatted as boolean, they are represented as 'No' and 'Yes'. We want to add i18n support, so that Yes and No appear in the current language.

Bootstrap Yii cGridView add popup button

Created 2 years ago by Arockia JohnsonHow-tos6 comments – viewed 12,163 times – ( +4 ) – version 1.1
Hi,

Display Status image on CGridView column

Created 3 years ago by Ankit ModiTutorials1 comment – viewed 12,133 times – ( +2 / -1 ) – version all
How to display status image on admin gridview.

How to catch and log MySQL deadlock errors

Created 4 years ago by sebTips1 comment – viewed 12,064 times – ( +4 ) – version 1.1
This method allows to log InnoDB monitor output when deadlock error occured. This way we will have much more useful data to find and fix deadlock.
tags: database

ChromePHP for Yii

Created 5 years ago by imeheszTips0 comments – viewed 12,036 times – ( +3 / -2 ) – version 1.1
ChromePHP is a console logging extension for Google Chrome.

Display image on CGridView column and open a fancy-box

Created 3 years ago by Ankit ModiTutorials0 comments – viewed 11,936 times – ( +1 / -1 )
1) Add a fancy-box extension on admin page

Simple Jui Autocomplete in yii2

Created about a year ago by ajithTutorials3 comments – viewed 11,798 times – ( -1 ) – version 2.0
In this tutorial i will explain how to use jui auto complete in yii2. The Autocomplete widget enables users to quickly find and select from a pre-populated list of values as they type, leveraging searching and filtering.

PHP built-in server integration

Created about a year ago by HeadshakerHow-tos1 comment – viewed 11,731 times – version 2.0
I was playing around with another PHP framework which I didn't really liked anyway but it had simple and nice integration for PHP built in web server so I decided to write one for Yii (since this is my primary PHP framework)

How to display page on fancybox...using CHtml::ajaxlink with yii validation

Created 3 years ago by Ankit ModiTutorials2 comments – viewed 11,721 times – ( +2 ) – version 1.1
1) include the fancybox extesion otherwise fancybox js