faravaghi / jalali-fullcalendar
Bootstrap Date Picker for Yii1 Extension
Installs: 29
Dependents: 0
Suggesters: 0
Security: 0
Stars: 16
Watchers: 1
Forks: 13
Open Issues: 1
Language:JavaScript
Type:yii-extension
Requires
- yiisoft/yii: *
This package is not auto-updated.
Last update: 2022-10-01 16:54:25 UTC
README
Jalali FullCalendar
Great JavaScript calendar converted to Yii extension with Full Calendar.
Example usage:
<?php $this->widget('ext.JFullCalendar.JFullCalendar', array( 'options'=>array( 'header'=>array( 'left'=>'prev,next', 'center'=>'title', 'right'=>'today' ) ))); ?>
sample load event from controller:
'events'=>$this->createUrl('event/calendarevents'),
and load from two or more controllers:
'eventSources'=>array( $this->createUrl('event/calendarevents'), $this->createUrl('site/calendarevents'), ),
If you are on Jalai date, need the convert Jalai to Gregorian for show in calendar. for example if your date is '1392/05/27' , need convert to '2013/08/18'.