Wiki

Articles in category "tips", sorted by viewsX
Displaying 61-70 of 153 result(s).

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

Created 3 years ago by Ankit ModiTips0 comments – viewed 15,181 times – ( +3 ) – version 1.1
Hi Friends,

A simple action for XUpload extension

Created 5 years ago by tydeas_drTips1 comment – viewed 15,172 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 3 years ago by le_topTips6 comments – viewed 14,834 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.

Managing constants easily

Created 4 years ago by briiC.lvTips4 comments – viewed 14,529 times – ( +4 ) – version 1.1
For time to time i have models with constants (basicly status constants) which i use in diferent places and if these constant changes, i have to change mentions of constant in code elsewhere.

adding class and links to Ctreeview node

Created 5 years ago by bingjie2680Tips2 comments – viewed 14,115 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

New Relic Error Alert with Yii

Created 3 years ago by simon604Tips2 comments – viewed 14,045 times – ( +6 ) – version 1.1
Introduction

CJuiTabs Content

Created 3 years ago by mbalaTips3 comments – viewed 14,011 times – ( +6 ) – version 1.1
When I used CJuiTabs I did something. They are
tags: CJuiTabs

Using events with CAction classes

Created 4 years ago by Antonio RamirezTips0 comments – viewed 13,932 times – ( +10 ) – version 1.1
There are some good guides out there explaining how to work with events and the ways to attach them to your components, but none (that I know) explain the following way to configure your events with CAction classes on your controllers the following way.

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

Created 5 years ago by dinhtrungTips2 comments – viewed 13,551 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.

Add model validator in Controller

Created about a year ago by Kostas Apazidis (KonApaz)Tips4 comments – viewed 13,245 times – ( +1 / -1 ) – version 1.1
There are cases that model validators should be depended by controller/action and you couldn't manipulate on the model class or using scenarios in easy way