{Theme} comes extenden calendar where you can attach any info events into it in javascript. If you want to invoke calendar, the only one thing is to put the code snippet in HTML:
Javascript Example of events, how to add:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
$(document).ready(function() { // page is now ready, initialize the calendar... $('#calendar').fullCalendar({ events: [ { title: 'All Day Event', start: '2015-04-01' }, { title: 'Long Event', start: '2015-04-07', end: '2015-04-10' }, ] }); }); |
Javascript
1 2 3 |
<script src="../assets/js/fullcalendar/moment.min.js"></script> <script src="../assets/js/fullcalendar/fullcalendar.min.js"></script> <script src="../assets/js/fullcalendar/init.js"></script> |
Full calendar documentation: http://fullcalendar.io/docs/