Skip to content

RezaMansouri70/jalali-fullcalendar

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jalali-fullcalendar

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'.

About

Jalali FullCalendar

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 85.4%
  • CSS 12.3%
  • PHP 2.3%