Here i am writing code how to add option of theme change and layout change in your website.
Here i am writing code how to add option of theme change and layout change in your website.
Use this code in your view,make sure to put EAmChartWidget in your extension folder. here is the url of widget http://www.yiiframework.com/extension/eamchartwidget/
1) include the fancybox extesion otherwise fancybox js
Do you want to make a listbox or dropdownlist to select one or more categories or sub categories ?
What I want to achieve:
1) Add a fancy-box extension on admin page
create a class file under protected\components named RActiveRecord.php
what i am going to introduce is a coding style that will result into a single page generated from different requests like in the example below this makes the specific request reusable instead of just an action being accessible to the controller in which the widgets are created
Here's a tutorial on how to create a CGridView with external date filters
the trick is to create hidden columns within the CGridView Filters
something like in the example below:

some times we want to show the serialNo on cgridview .
So you want to use CForm (form builder), but need to preload dropdowns in a form? It's simpler than it seems.
You got your CFormModel, CForm and the actual Form, right?
Let's say you have the typical State -> City dependent dropdowns, so you would want to load the from with the State and City selected.
Yii have a CJuiProgressBar, but it is static. If we want a dynamic progress bar to show the percentage or status, we have to do more things. I make it successfully and am glad to share it with you.
Hi Friends,
How to display status image on admin gridview.
Assuming that you have already install the wampserver on your windows.
Ok, it is a little bit difficult to full understanding the unsafe validator.
If you want to edit data directly in the gridview in a 'dropdownlist' style, then you could use the 'type' => 'select' option of TbEditableColumn (YiiBooster) or EditableColumn (x-editable for Yii). This wiki shows how to get data from the db for the 'dropdownlist', by converting AR model data into an array that is passed in json format.
if you have use the yiibooster extension, you have definitely used the amazing redactor, html5 and ckEditor editors.
This is an example for how to create Excel File with PHPExcel library.This article is inspired by Wikki Article return by Antonio Ramirez and extension created by marcovtwout for [PHPExcel library](https://github.co...