Wiki

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

Date Picker by examples

Updated about a year ago by InterboyHow-tos6 comments – viewed 54,106 times – ( +10 / -2 )
CJuiDatePicker displays a datepicker. CJuiDatePicker encapsulates the JUI datepicker plugin.

Javascript and AJAX with Yii

Updated about a year ago by Fran├žois GannazHow-tos2 comments – viewed 104,266 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

Create a custom menu using CMenu data-items (flat or tree structure)

Updated about a year ago by Kostas Apazidis (KonApaz)How-tos0 comments – viewed 12,508 times – ( +4 )
There are cases that you want more control to your menu Suppose you want a specific menu with complex css, layout, images. also you want to add extra content,html,css,javascript etc it run time foreach submenu item by conditions.

How to use PHPExcel external library with Yii

Updated about a year ago by cgsmithHow-tos13 comments – viewed 67,254 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 about a year ago by trondHow-tos0 comments – viewed 6,821 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 36,612 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,143 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,438 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,422 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,975 times – ( +4 / -6 )
Ok, it is a little bit difficult to full understanding the unsafe validator.