This extension is an advance version of flowing-calender

I really liked it and needed it to show events along with ajax load. Hope it may be of use to others looking for the same. It takes an array with unix time and other data(events) and displays the data on the calender.

Requirements

Yii 1.1 or above

Installation

Extract the release file under protected/extensions

Usage

$this->widget('ext.calendar-advance.AdvanceCalendarWidget',array('month'=>$month, 'year'=>$year, 'events'=>$events));

I am assuming the events array to be of this format. Unix timestamp and the display content

Array
(
    [0] => Array
        (
            [rdate] => 1359657000
            [html] => 01 February, Friday   /*pass html for better UI */
        )

    [1] => Array
        (
            [rdate] => 1359916200
            [html] => 04 February, Monday
        )
)

Set time zone and ajax controller in init()

date_default_timezone_set('Asia/Kolkata');
$ajaxRouteString = Yii::app()->controller->id."/cal";

Define your events array keys in AdvanceCalendarWidget.php as in the array above.

public $udate_key = 'rdate';
public $event_key = 'html';