Wiki

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

Using MBMenu and Rights to automatically create menu item for your modules

Created 5 years ago by dinhtrungTips2 comments – viewed 14,002 times – ( +1 / -1 ) – version 1.1
Using Rights generator component, we can easily create a dynamic menu, in which we scan every modules' controllers, to access the index page of them.

adding class and links to Ctreeview node

Created 5 years ago by bingjie2680Tips2 comments – viewed 14,600 times – ( +4 ) – version 1.1
This article will show you how to add links and class to each node in ctreeview. so you can attach events in js by obtaining handler on anchor or class.
tags: ctreeview, link, class

Customizing the CMenu Widget

Created 3 years ago by mistrybTips1 comment – viewed 49,301 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 3 years ago by Ankit ModiTips1 comment – viewed 8,735 times – ( -1 )
Hi Friends,

How to catch and log MySQL deadlock errors

Created 5 years ago by sebTips1 comment – viewed 12,442 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

How to change GridView delete confirmation message for specific controllers only?

Created about a year ago by AlaFalakiTips1 comment – viewed 11,125 times – ( +2 ) – version 2.0
Hello, If you want to give extra attention for some specific delete actions and you don't want to override whole yii.confirm JS method here is what you can do: (I've only put the ActionColumn part of the GridView here to just give you the idea)

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

Created 4 years ago by LuizTips1 comment – viewed 16,213 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 6 years ago by qiangTips1 comment – viewed 43,400 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 6 years ago by viterTips1 comment – viewed 11,812 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 9,489 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...