Wiki

Sorted by date (updated)X
Displaying 521-530 of 715 result(s).

How to catch and log MySQL deadlock errors

Updated 2 years ago by sebTips1 comment – viewed 8,707 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

History Autocomplete

Updated 2 years ago by Maurizio Domba CerinHow-tos2 comments – viewed 7,339 times – ( +3 ) – version 1.1
In application development we often have to choose how to mange recurrent values.
tags: autocomplete

CGridView keep focus on the control after filtering

Updated 2 years ago by jayalaHow-tos2 comments – viewed 7,841 times – ( +6 ) – version 1.1
You can find the reason why I wrote this article here.
tags: CGridView, filter

Starting your Yii Project Reference Guide (with Git VCS in Linux)

Updated 2 years ago by marcanuyTutorials5 comments – viewed 24,125 times – ( +18 ) – version 1.1
I've found useful to have a step by step reference guide to work with Git with most used commands, feel free to update it with useful information you may find interesting too.

Creating a CSS Driven Drop Down Menu using CMenu

Updated 2 years ago by blindMoeHow-tos9 comments – viewed 67,192 times – ( +22 / -1 ) – version 1.1
CMenu offers great functionality and the ability to customize just about every aspect of the output. There are many times when I need to create a drop down menu or simply modify the look to make the designers happy. Because this seems to be a common task for me, I figured I would share my code to create a very simple drop down menu that other people could use.

config Use MS SQL SERVER 2005 2008.

Updated 2 years ago by AsgarothTutorials1 comment – viewed 36,973 times – ( +4 ) – version 1.1
Use SQL SERVER 2000, the date format not like: yyyy/mm/dd hh:mm:ss. So I change to use SQL SERVER 2008 EXPRESS.

CGridView: Use special variable $data in the htmlOptions of a column (i.e. evaluate htmlOptions attribute)

Updated 2 years ago by c@cbaTutorials3 comments – viewed 40,596 times – ( +28 / -1 ) – version 1.1
    For each column of the CGridView, we can specify name, value, htmlOptions, cssClassExpression etc. In the declarations of the attributes value and cssClassExpression we can use the "special" variable $data, for example like this: 'value'=>'$data->author->username',.     Now we might want to use $data in the declaration of the htmlOptions attribute, which is normally not possible, to generate for example the tag <td id="3" class="name_3">, where 3 is the id of the data model for the current row, i.e. $data->id. That is, we want to be able to use: 'htmlOptions'=>array('id'=>'$data->id', 'class'=>'"name_{$data->id}"')     Here's a way to accomplish this...

Using Yii with PHP 5.4 built-in webserver instead of Apache

Updated 2 years ago by samdarkHow-tos1 comment – viewed 9,525 times – ( +21 ) – version 1.1
Since version 5.4 PHP can work as a simple webserver so you can develop Yii applications without installing Apache. That's how to use it:

Front-end developer's guide

Updated 2 years ago by waitekkTutorials5 comments – viewed 21,777 times – ( +11 ) – version 1.1
This wiki is a work in progress.

Collaborative software with git

Updated 2 years ago by Maurizio Domba CerinTutorials0 comments – viewed 5,791 times – ( +9 ) – version 1.1
The most difficult thing in a big project, is to manage conflicts with files modified by others users. Git can do this work for us.