Hi,
I have the extension "calendar" installed.
I downloaded it from here: http://www.yiiframework.com/extension/calendar/#hh3
…copied the code to protected/extensions/
I then included the following code in my view-file
<?php Yii::import('application.extensions.calendar.SCalendar'); ?>
<?php echo CHtml::activeLabelEx($model,'timeStart'); ?>
<?php echo CHtml::activeTextField($model,'timeStart',array("id"=>"timeStart")); ?>
(calendar appears when textbox is clicked)
<?php $this->widget('application.extensions.calendar.SCalendar',
array(
'inputField'=>'timeStart',
'ifFormat'=>'%Y-%m-%d',
));
?>
For some reason I always get the error message:
Alias "application.extensions.calendar.SCalendar" is invalid. Make sure it points to an existing PHP file.
Any idea what is wrong?
THX