This application is to integrate the jQuery Calendar control
display a jQuery calendar control synchronized with the SharePoint calendar list. Below are the lists of features:
The calendar control highlights the dates of all the events of the current month present in the Calendar list of the site.
The dates when hovered over with the mouse, would display a small pop-up showing the respective date’s events.
The links when clicked would open the respective event's view form page.
You can also navigate to previous and next and months to view the respective months’ events.
Look at the below image for a better understanding:
As you can see in the above image, cells 8, 9, 12, 13, and 14 are highlighted with a blue color border to show that these are the dates in the current month having events registered in the Calendar list. Also
when you hover over date “13” in the calendar you can see that a pop-up is being shown displaying the events of that particular date.
Go to your SharePoint site and create a document library called “jQCalendarPart”.
Download the jQCalendarPart.zip file from here and
Copy the files and folders from the unzipped jQCalendarPart folder in to the above created library.
Create a Content Editor Web Part in your SharePoint site where you want to display this web part.
Edit the CEWP and link it to the JS file called jQCalendarPart.js that was uploaded in the jQCalendarPart document library.
Save the page to see the web part showing a jQuery calendar control synchronized with the SharePoint calendar events from the Calendar list in your site.
- If you do not see the calendar control or the calendar control is not showing any events from the calendar list, please read the caveat points mentioned in the below section.
The code has been written to retrieve events only from a calendar type list whose title is “Calendar”. If you want to retrieve from a different calendar list, please change the value of
the variable “listName” from the code.
All the external JS files that are used are referred using their relative URL, so if your site URL comes after “/sites”, please change the reference URLs for all the JS files
that are present in the top of the code in the file jQCalendarPart.js.
Kindly mail me at email@example.com if
you have any doubts or issues or you can also post a comment in my blog.
I have used the jQuery DatePicker control and SPServices to
get this application done. I have tested this in an Office 365 SharePoint 2013 preview site and it works fine too. But I wanted to develop it as an app and publish it in the app store for SharePoint 2013. So please wait until I get a SharePoint 2013 development