Wiki articles in category Tips tagged with "Widgets"

Showing 1-5 of 5 items.

Rendering Views and Updating them with Ajax

Created 12 years ago by Manish Gupta Manish Gupta, updated 12 years ago by Manish Gupta Manish Gupta.

I wanted to implement a widget that could refresh itself through Ajax without refreshing the whole page. CGridView and CListView are excellent examples of such widgets.

1 0
7 followers
Viewed: 30 655 times
Version: Unknown (update)
Category: Tips

Customizing the CMenu Widget

Created 12 years ago by mistryb mistryb, updated 11 years ago by mistryb mistryb.

The CMenu class provides some useful features for generating menus in your web application.

1 0
4 followers
Viewed: 70 773 times
Version: 1.1
Category: Tips

Send asset folder path to a javascript of a widget

Created 14 years ago by sensorario sensorario, updated 14 years ago by sensorario sensorario.

When you develop a widget, you could need one image that is in the assets folder, you can use it simply within a css. You can load a css or javascript script doing this:

Yii::app()->getClientScript()->registerCssFile($filename);
4 0
9 followers
Viewed: 36 961 times
Version: 1.1
Category: Tips

Customizing Yii's formatting rules (extending CFormatter)

Created 14 years ago by Haensel Haensel, updated 14 years ago by Haensel Haensel.

CFormatter is one of Yii's core components and used to format values displayed in widgets like CGridView or CDetailView. All classic formats like numbers, text, urls or datetime are supported but you may have to use a formatting rule that isn't built in. Let's say we want to display arrays of strings (like tags associated with a product model)...

12 0
6 followers
Viewed: 24 413 times
Version: 1.1
Category: Tips

Yii实战中8个必备常用的扩展,模块和

Created 14 years ago by Darwin Wen Darwin Wen, updated 14 years ago by Darwin Wen Darwin Wen.

在经过畅K网的实战后,总结一下在Yii的项目中会经常用到的组件和一些基本的使用方法,分享给大家,同时也给自己留个备忘录,下面我以代码加图片说明.

2 3
9 followers
Viewed: 42 786 times
Version: 1.1
Category: Tips