Wiki

Articles in category "how-tos", sorted by date (updated)X
Displaying 161-170 of 328 result(s).

Make theme and layout option in your site

Updated about a year ago by trondHow-tos0 comments – viewed 6,640 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 about a year ago by acorncomHow-tos23 comments – viewed 35,614 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 about a year ago by trondHow-tos0 comments – viewed 3,064 times – ( +2 )
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/

Yii HMVC

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

CGridView Date Range Without Cookies or Session (External Filtering)

Updated about a year ago by Maurizio Domba CerinHow-tos6 comments – viewed 8,155 times – ( +5 )
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:

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

Updated about a year ago by Kostas Apazidis (KonApaz)How-tos4 comments – viewed 11,601 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 about a year ago by VINAY Kr. SHARMAHow-tos6 comments – viewed 16,901 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 about a year ago by Kostas Apazidis (KonApaz)How-tos6 comments – viewed 13,908 times – ( +7 / -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 about a year ago by Kostas Apazidis (KonApaz)How-tos0 comments – viewed 6,583 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

Using Grunt for deploying client scripts

Updated about a year ago by Chris83How-tos8 comments – viewed 12,165 times – ( +11 ) – version 1.1
For a long time I have struggled to find a suitable tool for doing server tasks such as compiling LESS files, concatenating and minifying of JavaScript files and copying the minified JavaScript files. While most of these tasks can be done with Yii extensions I would still not recommend using them because it requires you to include these extensions in your project, and therefore also deploying them in your production environment.