fullcalendar

fullCalendar
12 followers

This extension is fullCalendar alt "例图"

Documentation

Requirements

  • Yii 1.0 or above

Installation

  • Extract the release file under protected/extensions

Usage

See the following code example:

$this->widget('application.extensions.fullcalendar.FullcalendarGraphWidget', 
    array(
        'data'=>array(
                'title'=> 'All Day Event',
                'start'=> date('Y-m-j')
        ),
        'options'=>array(
            'editable'=>true,
        ),
        'htmlOptions'=>array(
               'style'=>'width:800px;margin: 0 auto;'
        ),
    )
);

Change Log

June 20, 2010

  • Initial release.

Total 7 comments

#6700 report it
alex-ks at 2012/01/30 05:49am
Drag and Drop

Ok. Found the solution and fixed JS here: http://code.google.com/p/fullcalendar/issues/detail?id=1168 Problem was in jQuery version.

#6697 report it
alex-ks at 2012/01/30 04:45am
Drag and Drop not working

Is Drag and Drop functionality working in this widget? When I try to drag event to another place it returns to its previous one. Then I tried to replace assets to fullcalendar 1.5.2, events now can be dragged but they are not attached to days. They can be dragged but nothing happens, callbacks are not runs.

#42 report it
thinkt4nk at 2010/10/05 10:19pm
multiple event issue

Well, I couldn't get it to support multiple events without editing a line of the source. In line 20 of FullCalendarGraphWidget I changed

'events'=>array($this->data)

to

'events'=>$this->data

as it seemed to me that the proper consumption should look something like this

    'data' => array(
        array(
            'title' => 'My First Appointment',
            'start' => '2010-10-04',
        ),
        array(
            'title' => 'My Second Appointment',
            'start' => '2010-10-05',
        ),
    ),

Was there another way to get this to work?

#127 report it
blindmoe at 2010/09/02 01:25pm
Works great until you want to embed callback functions

Like giobien5 mentioned, when you want to embed some callback functions you will run into problems. This includes just about any javascript function you would use to handle the updating or adding of items in the calendar.

Basically this extension works great if you just want to display a calendar but not use any of FullCalendars ajax functionality to manipulate calendar events.

So this is off to a great start and I will try to update the extension with the extra functionality for everyone to use.

Sharehua, do you think you could start a google code project for this so we can commit changes we make for the community?

#230 report it
alefusion at 2010/08/02 05:49am
documentation

How to interact with the calendar (add, remove, update events)?

#278 report it
GDzyne at 2010/07/21 03:54pm
Works really well.

Thank you for your effort here.

#375 report it
giobien5 at 2010/06/22 02:57am
can not embed javascript fuction event

When modifi for even on calendar as demo/selectable.htm Can not emdeb javascription function.

Leave a comment

Please to leave your comment.

Create extension