新手问题,如果使用yii的calendar

我按照文档上面的,已下载了calendar_1_22.zip,解压后把里面的文件改名calendar并放到相应的protected\extensions下,然后如下调用

<input type="text" name="endDate">

<?php $this->widget(‘application.extensions.calendar.SCalendar’,

    array(


    'inputField'=&gt;'endDate',


    'ifFormat'=&gt;'%Y-%m-%d',


));

?>

但为什么报

YiiBase::require(D:\sky\htdocs\zudr\protected\extensions\calendar\SCalendar.php) [<a href=‘function.YiiBase-require’>function.YiiBase-require</a>]: failed to open stream: No such file or directory

这个错呢?是有什么漏设了吗?

你确定你的电脑有这个文件在这里:

D:\sky\htdocs\zudr\protected\extensions\calendar\SCalendar.php

不明白,当然没有这个文件,不是把calendar_1_22.zip里的解压再放到protected\extensions就可以了吗?我的理解是,解压出来的calendar文件不是已经包含了SCalendar.php了吗