Logo
FullCalendar, the most popular full-sized JavaScript Calendar v4 Plugin. For more info please visit FullCalendar v4 Documentation.
FullCalendar v5 integration is coming soon

Google Calendar


                <div class="card card-custom">
                 <div class="card-header">
                  <div class="card-title">
                   <h3 class="card-label">
                    Google Calendar
                   </h3>
                  </div>
                  <div class="card-toolbar">
                   <a href="#" class="btn btn-light-primary font-weight-bold">
                   <i class="ki ki-plus "></i> Add Event
                   </a>
                  </div>
                 </div>
                 <div class="card-body">
                  <div id="kt_calendar"></div>
                 </div>
                </div>
    

                var KTCalendarBasic = function() {

                    return {
                        //main function to initiate the module
                        init: function() {
                            var calendarEl = document.getElementById('kt_calendar');
                            var calendar = new FullCalendar.Calendar(calendarEl, {
                                plugins: [ 'interaction', 'dayGrid', 'timeGrid', 'list', 'googleCalendar' ],

                                isRTL: KTUtil.isRTL(),
                                header: {
                                    left: 'prev,next today',
                                    center: 'title',
                                    right: 'dayGridMonth,timeGridWeek,timeGridDay'
                                },

                                displayEventTime: false, // don't show the time column in list view

                                height: 800,
                                contentHeight: 780,
                                aspectRatio: 3,  // see: https://fullcalendar.io/docs/aspectRatio

                                views: {
                                    dayGridMonth: { buttonText: 'month' },
                                    timeGridWeek: { buttonText: 'week' },
                                    timeGridDay: { buttonText: 'day' }
                                },

                                defaultView: 'dayGridMonth',

                                editable: true,
                                eventLimit: true, // allow "more" link when too many events
                                navLinks: true,

                                // THIS KEY WON'T WORK IN PRODUCTION!!!
                                // To make your own Google API key, follow the directions here:
                                // http://fullcalendar.io/docs/google_calendar/
                                googleCalendarApiKey: 'AIzaSyDcnW6WejpTOCffshGDDb4neIrXVUA1EAE',

                                // US Holidays
                                events: 'en.usa#holiday@group.v.calendar.google.com',

                                eventClick: function(event) {
                                    // opens events in a popup window
                                    window.open(event.url, 'gcalevent', 'width=700,height=600');
                                    return false;
                                },

                                loading: function(bool) {
                                    return;

                                    /*
                                    KTApp.block(portlet.getSelf(), {
                                        type: 'loader',
                                        state: 'success',
                                        message: 'Please wait...'
                                    });
                                    */
                                },

                                eventRender: function(info) {
                                    var element = $(info.el);

                                    if (info.event.extendedProps && info.event.extendedProps.description) {
                                        if (element.hasClass('fc-day-grid-event')) {
                                            element.data('content', info.event.extendedProps.description);
                                            element.data('placement', 'top');
                                            KTApp.initPopover(element);
                                        } else if (element.hasClass('fc-time-grid-event')) {
                                            element.find('.fc-title').append('<div class="fc-description">' + info.event.extendedProps.description + '</div>');
                                        } else if (element.find('.fc-list-item-title').lenght !== 0) {
                                            element.find('.fc-list-item-title').append('<div class="fc-description">' + info.event.extendedProps.description + '</div>');
                                        }
                                    }
                                }
                            });

                            calendar.render();
                        }
                    };
                }();

                jQuery(document).ready(function() {
                    KTCalendarBasic.init();
                });
    

User Profile 15 messages

Recent Notifications

Important Notice

Lorem Ipsum is simply dummy text of the printing and industry.

System Update

There are many variations of passages of Lorem Ipsum available.

Server Maintenance

Contrary to popular belief, Lorem Ipsum is not simply random text.

DB Migration

If you are going to use a passage of Lorem Ipsum, you need.

System Messages
09:30 AM

To start a blog, think of a topic about and first brainstorm ways to write details

2:45 PM

To start a blog, think of a topic about and first brainstorm ways to write details

3:12 PM

To start a blog, think of a topic about and first brainstorm ways to write details

7:05 PM

To start a blog, think of a topic about and first brainstorm ways to write details

Notifications
Pic
Marcus Smart UI/UX, Art Director
+65%
AH
Andreas Hawks Python Developer
+23%
SC
Sarah Connor HTML, CSS. jQuery
-34%
Pic
Amanda Harden UI/UX, Art Director
+72%
SR
Sean Robbins UI/UX, Art Director
+65%
JT
Jason Tatum ASP.NET Developer
+139%

Privacy Settings:

After you log in, you will be asked for additional information to confirm your identity.

Security Settings:

After you log in, you will be asked for additional information to confirm your identity. For extra security, this requires you to confirm your email. Learn more.

Select A Demo

Demo 1
Demo 2
Demo 3
Demo 4
Demo 5
Demo 6
Demo 7
Demo 8
Demo 9