Articles in category "how-tos", sorted by date (updated)X
Displaying 181-190 of 346 result(s).

Javascript and AJAX with Yii

Updated about a year ago by Fran├žois GannazHow-tos3 comments – viewed 116,406 times – ( +40 ) – version 1.1
This page intends to provide an exhaustive guide of how to use Javascript (JS) in Yii. It does not explain how to learn coding in JS, but how to deal with it "the Yii way".
tags: javascript, AJAX

How to use PHPExcel external library with Yii

Updated 2 years ago by cgsmithHow-tos14 comments – viewed 77,536 times – ( +29 / -1 ) – version 1.1
Trying to learn and help some other programmers to find their solutions on the Yii Forum (I think is a superb way to learn the framework), I was facing one challenge with an external library that a fellow programmer wanted to use -quite good indeed: PHPExcel. And what is PHPExcel?

Make theme and layout option in your site

Updated 2 years ago by trondHow-tos0 comments – viewed 7,768 times – ( +1 )
Here i am writing code how to add option of theme change and layout change in your website.
tags: theme, layouts

Integrating Wordpress and Yii: still another approach, using Yii as the router/controller

Updated 2 years ago by acorncomHow-tos23 comments – viewed 42,684 times – ( +22 ) – version 1.1
A lot of people have written posts on integrating Yii and WordPress. This article combines goncin's approach with an article I read about integrating Symfony and WordPress and applies it all to Yii and WordPress.

make chart from custome queries using amcharts widget

Updated 2 years ago by trondHow-tos0 comments – viewed 3,545 times – ( +2 )
Use this code in your view,make sure to put EAmChartWidget in your extension folder. here is the url of widget


Updated 2 years ago by ezekielnoobHow-tos6 comments – viewed 10,058 times – ( +5 / -1 )
Right now we can use widgets + action provider like in this tutorial: How to use a Widget as an Action Provider

"safe" and "unsafe" Model validators (massive assignments)

Updated 2 years ago by Kostas Apazidis (KonApaz)How-tos4 comments – viewed 14,565 times – ( +4 / -6 )
Ok, it is a little bit difficult to full understanding the unsafe validator.

How to avoid rendering entire page on AJAX call for CGridView and CListView

Updated 2 years ago by VINAY Kr. SHARMAHow-tos6 comments – viewed 19,816 times – ( +5 )
CGridView and CListView are great widget to populate records and also provides features like ajax update, column sort, search, drop-down filter, ajax content load and many more...

Popup AJAX DialogBox without any extension

Updated 2 years ago by Kostas Apazidis (KonApaz)How-tos6 comments – viewed 16,290 times – ( +8 / -1 )
In this wiki I explain how to show a default popup dialogbox (like Gii does) using an existing module.

model rules depended by user roles-permissions

Updated 2 years ago by Kostas Apazidis (KonApaz)How-tos0 comments – viewed 7,811 times – ( +3 )
This is a reference about model validators and user roles. In many cases we want model validators to applied only for some privileged users or not