Wiki

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

How to change the confirmation message on admingridview button and call a ajax..Dynamic

Created about a year ago by Ankit ModiTips0 comments – viewed 10,385 times – ( +3 ) – version 1.1
Hi Friends,

Update Gridview with Dropdown Selection

Created about a year ago by lgastmansTips0 comments – viewed 5,289 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...

A simple action for XUpload extension

Created 4 years ago by tydeas_drTips1 comment – viewed 13,804 times – ( +3 ) – version 1.1
All the basic functionality for an action used by the xupload extension. Check resources for the source code of this action
tags: tips, xupload, caction

Adding a link to a CDataColumn

Created 2 years ago by le_topTips6 comments – viewed 10,874 times – ( +3 ) – version 1.1
Backoffice Grid Views often list information like Posts for a blog while showing at the same time linked information like the User who wrote that post. For more efficiency, it is appropriate that the User is displayed as a link to the User detail page.

CjuiDatepicker

Created 2 years ago by hiral darjiTips1 comment – viewed 6,176 times – ( +3 ) – version 1.1
If you have two datepicker in one form and you want that a date of from date shold be minimum date of todate then put following code in Cjuidatepicker widget options array:

Expert's model generation with Gii

Created 9 months ago by le_topTips0 comments – viewed 4,706 times – ( +3 ) – version 1.1
Efficient coding with Yii implies efficient use of the code generator. This article shares the personalised Gii templates that were built starting from the standard templates proposed by AweGen.

embedded javascript block in your view with IDE checking or intellisense

Created 7 months ago by yiqing95Tips0 comments – viewed 2,539 times – ( +3 ) – version 2.0
this is my way for embed js code block in view file:

Inline views, write less

Created about a year ago by FirebreakerTips0 comments – viewed 4,488 times – ( +3 )
Sometimes writing views like

Customizing the CMenu Widget

Created about a year ago by mistrybTips1 comment – viewed 35,152 times – ( +5 / -1 ) – version 1.1
The CMenu class provides some useful features for generating menus in your web application.

Using CJuiDialog to edit rows in a CGridView

Created 3 years ago by Russell EnglandTips8 comments – viewed 29,096 times – ( +4 / -1 ) – version 1.1
I have a CGridView with a list of clients/events. For each row (EventClient) I wanted a quick edit dialog.