Wiki

Sorted by viewsX
Displaying 501-510 of 772 result(s).

Simple way to implement Dynamic Tabular Inputs

Created about a year ago by ezekielnoobTutorials5 comments – viewed 11,651 times – ( +4 ) – version all

Update related models of a model using listBox and checkBoxList in the form

Created 2 years ago by Kostas Apazidis (KonApaz)How-tos0 comments – viewed 11,629 times – ( +2 ) – version 1.1
Suppose you want to have a list in Category with its related products and you want to updates the list (removing or insert product items) This wiki show us how to do that

ChromePHP for Yii

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

Limit a CGridView field to some preset length.

Created 3 years ago by le_topHow-tos1 comment – viewed 11,557 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.

Yii2 default values for Index data Provider

Created 2 years ago by CTalaTips2 comments – viewed 11,513 times – ( +3 ) – version 2.0
Guys,

How to catch and log MySQL deadlock errors

Created 4 years ago by sebTips1 comment – viewed 11,462 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

Display Status image on CGridView column

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

Using sub query for doubletts

Created 3 years ago by mbTips3 comments – viewed 11,449 times – ( +2 ) – version 1.1
find doubletts by db fields. in this example i will check doublets for 3 tabelfields (col1,col2,col3). so i will get a subquery with the condition, select and grouping of the tablefields. the having with COUNT() > 1 means: find all records more then one result.

Display image on CGridView column and open a fancy-box

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

Yii code completion and calltips in Komodo Edit

Created 5 years ago by viterTips1 comment – viewed 11,305 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