Wiki

Articles in category "tips", sorted by commentsX
Displaying 81-90 of 151 result(s).

Customizing the CMenu Widget

Created 2 years ago by mistrybTips1 comment – viewed 44,995 times – ( +5 / -1 ) – version 1.1
The CMenu class provides some useful features for generating menus in your web application.

How to Display tooltp(qtip) on CGridview dynamic

Created 2 years ago by Ankit ModiTips1 comment – viewed 7,805 times – ( -1 )
Hi Friends,

How to catch and log MySQL deadlock errors

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

BootProgressColumn - Progress Bar Inside GridView Column compatible with 'bootstrap' extension

Created 3 years ago by LuizTips1 comment – viewed 15,123 times – ( +7 ) – version 1.1
A little hint of how to create a progress bar inside the column of the grid, using the 'bootstrap' extension.

Adding Yii Search to Your Browser Search Box

Created 5 years ago by qiangTips1 comment – viewed 40,959 times – ( +28 ) – version 1.1
The official Yii project site now supports OpenSearch. This means you can customize your browser's search box to enable direct search of the content in yiiframework.com. For example, by entering a Yii class name in the browser's search box, the corresponding class API page will be shown in the browser.
tags: search

Yii code completion and calltips in Komodo Edit

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

Update Gridview with Dropdown Selection

Created 2 years ago by lgastmansTips1 comment – viewed 8,053 times – ( +3 ) – version 1.1
I recently worked on updating the content of a gridview based on the selection of a dropdown menu. I thought I should share it in the forum...

Preventing CJuiTabs from hiding drop-down CMenu items

Created 5 years ago by Steve FriedlTips1 comment – viewed 10,044 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.

Search method of a model for filters when using dates - unixtimestamp in database

Created 5 years ago by MukkeTips1 comment – viewed 26,954 times – ( +10 ) – version 1.1
I ran into a problem and on irc we worked it out. Since there is a lack on information on filters in genral i thought i'd start sharing all my findings, might be usefull for other people.

htmlOptions explained for various controls.

Created 5 years ago by WoilTips1 comment – viewed 52,313 times – ( +18 ) – version 1.1
Most controls that are rendered by CHtml have an argument called $htmlOptions. This argument is an array that holds the attributes of the HTML element. For example the following code: