calendar
This extension is a calendar based on The Coolest DHTML Calendar
It's an easy to use, light and fast calendar with many options
Resources
Copyright © 2009 by Spyros All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
- Neither the name of Spyros nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Available Downloads
| File | Summary | Uploaded on | Downloaded |
|---|---|---|---|
| calendar_1_22.zip (116.7 KB) | calendar version 1.22 | August 18, 2009 | 1205 |
| calendar_1_21.zip (116.6 KB) | calendar version 1.21 | July 16, 2009 | 188 |
| calendar_1_2.zip (116.6 KB) | calendar version 1.2 | June 23, 2009 | 131 |
| calendar_1_1.zip (116.6 KB) | calendar version 1.1 | June 2, 2009 | 159 |
| calendar_1_0.zip (116.6 KB) | calendar version 1.0 | May 29, 2009 | 132 |
August 18, 2009
Version 1.22
Fixed javascript error caused by boolean parameters (thanks to fhelix72)
Added step parameter for the years displayed in the calendar's year drop down menu (thanks to fhelix72)
July 16, 2009
Version 1.21
bug fix (handling undefined variables)
June 23, 2009
Version 1.2
Fixed bug with flatCallback, onSelect, onClose and onUpdate functions
June 2, 2009
Version 1.1
Fixes a bug with IE that made the widget useless
May 29, 2009
- Initial release.
Requirements
- Yii 1.0 or above
Installation
- Extract the release file under
protected/extensions
Documentation
Check here the complete documentation of the calendar
Usage
See the following code example: A calendar that appears when an image is clicked
<?php echo CHtml::activeLabelEx($event,'start_date'); ?> <?php echo CHtml::activeTextField($event,'start_date',array("id"=>"start_date")); ?> <?php echo CHtml::image("images/images.jpg","calendar", array("id"=>"c_button","class"=>"pointer")); ?> (calendar appears when image is clicked) <?php $this->widget('application.extensions.calendar.SCalendar', array( 'inputField'=>'start_date', 'button'=>'c_button', 'ifFormat'=>'%Y-%m-%d', )); ?>
A calendar that appears when a textfield is clicked
<?php echo CHtml::activeLabelEx($event,'end_date'); ?> <?php echo CHtml::activeTextField($event,'end_date',array("id"=>"end_date")); ?> (calendar appears when textbox is clicked) <?php $this->widget('application.extensions.calendar.SCalendar', array( 'inputField'=>'end_date', 'ifFormat'=>'%Y-%m-%d', )); ?>
A fixed position calendar displaying date and time with a range of 2008-2010
<?php echo CHtml::activeLabelEx($event,'remind'); ?> <?php echo CHtml::activeTextField($event,'remind',array("id"=>"remind")); ?> (calendar with time , position 400,200 and a range 2008-2010) <?php $this->widget('application.extensions.calendar.SCalendar', array( 'inputField'=>'remind', 'ifFormat'=>'%Y-%m-%d %H:%M', 'showsTime'=>true, 'position'=>"[400,200]", 'range'=>"[2008,2010]" )); ?>
