How to install Googlecalendar?

I put files from downloaded googlecalendar extension archive in demo site blog from yiiframework. Css from archive i add in root of the site blog in exsising directory, for directory jquery from archive i add new dir in root of the site directory, view.php from archive i added in created directory views in root too. But, when i enter in the adres bar mysite.ru\googlecalendar.php, i got an error:

Fatal error: Class ‘Yii’ not found in C:\OpenServer\domains\www.blog.ru\googlecalendar.php on line 31, on line 31 in this file write this code: Yii::import(‘system.web.widgets.CWidget’);. What i doing wrong?

On site of this blog, googlecalendar don’t display.

Now on stage of the configure main.php http://www.yiiframework.com/extension/googlecalender, after it i got the message




Parse error: syntax error, unexpected '=>' (T_DOUBLE_ARROW) in C:\OpenServer\domains\www.phonebook.ru\protected\config\main.php on line 5

This is what contains main.php:


<?php


// This is the main Web application configuration. Any writable

// application properties can be configured here.

'CALENDAR'=>array(

'class' => 'application. extensions.'your extension name'.'your php file',

),;

return array(

	'basePath'=>dirname(__FILE__).DIRECTORY_SEPARATOR.'..',

	'name'=>'Yii Framework: Phone Book Demo',


	// autoloading model and component classes

	'import'=>array(

		'application.models.*',

		'application.components.*',

	),


	// application components

	'components'=>array(

		'db'=>array(

			'connectionString'=>'sqlite:protected/data/phonebook.db',

		),

	),

);

What, my English is very bad, then you undrestod me?